From 93a4b5e851fba0bda4f188de21ac47ce9ad76589 Mon Sep 17 00:00:00 2001 From: raysan5 <raysan5@gmail.com> Date: Thu, 24 Aug 2017 18:27:31 +0200 Subject: [PATCH] Added compiler flag... ...to avoid issue on Arch Linux --- examples/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Makefile b/examples/Makefile index c5938d36e..7c6a1cea9 100644 --- a/examples/Makefile +++ b/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