Răsfoiți Sursa

Added compiler flag...

...to avoid issue on Arch Linux
raysan5 8 ani în urmă
părinte
comite
93a4b5e851
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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