Skip to content

Commit ad9d2c6

Browse files
update nostl code
1 parent 48d49e8 commit ad9d2c6

File tree

3 files changed

+253
-131
lines changed

3 files changed

+253
-131
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ examples/nostl/nostl: examples/nostl/nostl.c RGFW.h
185185
ifeq ($(CC),emcc)
186186
@echo nostl is not supported on this platform
187187
else ifeq ($(detected_OS),Linux)
188-
$(CC) $(CFLAGS) $(LIBS) -nostdlib -I. $< -o $@$(EXT)
188+
$(CC) $(CFLAGS) -fno-stack-protector -lX11 -lXcursor -lGL -lXi -lXrandr -I. $< -o $@$(EXT)
189189
else ifeq ($(detected_OS),windows)
190190
$(CC) $(CFLAGS) $(WARNINGS) -nostdlib -I. $< -lgdi32 -o $@$(EXT)
191191
else ifeq ($(detected_OS),Darwin)

0 commit comments

Comments
 (0)