Browse Source

Merge pull request #542 from a3f/no-no-pie

Makefile: Remove unnecessary -no-pie for older GCC support
pull/545/head
Ray 6 years ago
committed by GitHub
parent
commit
a09d6fd428
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 12 additions and 12 deletions
  1. +1
    -1
      examples/Makefile
  2. +1
    -1
      games/Makefile
  3. +1
    -1
      games/drturtle/Makefile
  4. +1
    -1
      games/just_do/Makefile
  5. +1
    -1
      games/koala_seasons/Makefile
  6. +1
    -1
      games/light_my_ritual/Makefile
  7. +1
    -1
      games/skully_escape/Makefile
  8. +1
    -1
      games/transmission/Makefile
  9. +1
    -1
      games/wave_collector/Makefile
  10. +1
    -1
      templates/advance_game/Makefile
  11. +1
    -1
      templates/simple_game/Makefile
  12. +1
    -1
      templates/standard_game/Makefile

+ 1
- 1
examples/Makefile View File

@ -215,7 +215,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
#CC = clang
endif
ifeq ($(RAYLIB_LIBTYPE),STATIC)
CFLAGS += -no-pie -D_DEFAULT_SOURCE
CFLAGS += -D_DEFAULT_SOURCE
endif
ifeq ($(RAYLIB_LIBTYPE),SHARED)
# Explicitly enable runtime link to libraylib.so

+ 1
- 1
games/Makefile View File

@ -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)

+ 1
- 1
games/drturtle/Makefile View File

@ -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)

+ 1
- 1
games/just_do/Makefile View File

@ -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)

+ 1
- 1
games/koala_seasons/Makefile View File

@ -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)

+ 1
- 1
games/light_my_ritual/Makefile View File

@ -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)

+ 1
- 1
games/skully_escape/Makefile View File

@ -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)

+ 1
- 1
games/transmission/Makefile View File

@ -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)

+ 1
- 1
games/wave_collector/Makefile View File

@ -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)

+ 1
- 1
templates/advance_game/Makefile View File

@ -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)

+ 1
- 1
templates/simple_game/Makefile View File

@ -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)

+ 1
- 1
templates/standard_game/Makefile View File

@ -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)

Loading…
Cancel
Save