Sfoglia il codice sorgente

Added compiler flag...

...to avoid issue on Arch Linux
raysan5 8 anni fa
parent
commit
93a4b5e851
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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