소스 검색

Added compiler flag...

...to avoid issue on Arch Linux
raysan5 8 년 전
부모
커밋
93a4b5e851
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      examples/Makefile

+ 1 - 1
examples/Makefile

@@ -103,7 +103,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
         CFLAGS = -O2 -s -Wall -std=c99
     endif
     ifeq ($(PLATFORM_OS),LINUX)
-        CFLAGS = -O2 -s -Wall -std=c99 -D_DEFAULT_SOURCE
+        CFLAGS = -O2 -s -Wall -std=c99 -no-pie -D_DEFAULT_SOURCE
     endif
     ifeq ($(PLATFORM_OS),OSX)
         CFLAGS = -O2 -s -Wall -std=c99