Skip to content

Commit

Permalink
update nostl code
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Jan 6, 2025
1 parent 48d49e8 commit ad9d2c6
Show file tree
Hide file tree
Showing 3 changed files with 253 additions and 131 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ examples/nostl/nostl: examples/nostl/nostl.c RGFW.h
ifeq ($(CC),emcc)
@echo nostl is not supported on this platform
else ifeq ($(detected_OS),Linux)
$(CC) $(CFLAGS) $(LIBS) -nostdlib -I. $< -o $@$(EXT)
$(CC) $(CFLAGS) -fno-stack-protector -lX11 -lXcursor -lGL -lXi -lXrandr -I. $< -o $@$(EXT)
else ifeq ($(detected_OS),windows)
$(CC) $(CFLAGS) $(WARNINGS) -nostdlib -I. $< -lgdi32 -o $@$(EXT)
else ifeq ($(detected_OS),Darwin)
Expand Down
Loading

0 comments on commit ad9d2c6

Please sign in to comment.