summaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorRay <[email protected]>2018-05-12 12:39:02 +0200
committerGitHub <[email protected]>2018-05-12 12:39:02 +0200
commita09d6fd428d4ee82dd7723625285660e25a902e1 (patch)
tree0dfab922e6edffbb525b76cce76691d4fe56b76a /templates
parent2d6fb5c628068757387525e190c3afdbe33ae9c6 (diff)
parentc1b9104d54814b4084e0d7b113918a6d014e807e (diff)
downloadraylib-a09d6fd428d4ee82dd7723625285660e25a902e1.tar.gz
raylib-a09d6fd428d4ee82dd7723625285660e25a902e1.zip
Merge pull request #542 from a3f/no-no-pie
Makefile: Remove unnecessary -no-pie for older GCC support
Diffstat (limited to 'templates')
-rw-r--r--templates/advance_game/Makefile2
-rw-r--r--templates/simple_game/Makefile2
-rw-r--r--templates/standard_game/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/advance_game/Makefile b/templates/advance_game/Makefile
index 181f9dfb..61a59bc2 100644
--- a/templates/advance_game/Makefile
+++ b/templates/advance_game/Makefile
@@ -163,7 +163,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
CFLAGS += $(RAYLIB_PATH)/src/raylib_icon -Wl,--subsystem,windows
endif
ifeq ($(PLATFORM_OS),LINUX)
- CFLAGS += -no-pie -D_DEFAULT_SOURCE
+ CFLAGS += -D_DEFAULT_SOURCE
endif
endif
ifeq ($(PLATFORM),PLATFORM_RPI)
diff --git a/templates/simple_game/Makefile b/templates/simple_game/Makefile
index 4cd435ea..1b512670 100644
--- a/templates/simple_game/Makefile
+++ b/templates/simple_game/Makefile
@@ -163,7 +163,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
CFLAGS += $(RAYLIB_PATH)/src/raylib_icon -Wl,--subsystem,windows
endif
ifeq ($(PLATFORM_OS),LINUX)
- CFLAGS += -no-pie -D_DEFAULT_SOURCE
+ CFLAGS += -D_DEFAULT_SOURCE
endif
endif
ifeq ($(PLATFORM),PLATFORM_RPI)
diff --git a/templates/standard_game/Makefile b/templates/standard_game/Makefile
index e18703b2..7046233c 100644
--- a/templates/standard_game/Makefile
+++ b/templates/standard_game/Makefile
@@ -163,7 +163,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
CFLAGS += $(RAYLIB_PATH)/src/raylib_icon -Wl,--subsystem,windows
endif
ifeq ($(PLATFORM_OS),LINUX)
- CFLAGS += -no-pie -D_DEFAULT_SOURCE
+ CFLAGS += -D_DEFAULT_SOURCE
endif
endif
ifeq ($(PLATFORM),PLATFORM_RPI)