Kaynağa Gözat

Added compiler flag...

...to avoid issue on Arch Linux
raysan5 8 yıl önce
ebeveyn
işleme
93a4b5e851
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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