mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Use flags from the system to build the filters, will avoid hardening-no-relro.
This commit is contained in:
parent
2bde8ab07c
commit
5600178879
@ -42,7 +42,7 @@ ifeq (debug,$(build))
|
|||||||
extra_flags += -O0 -g
|
extra_flags += -O0 -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ldflags := -shared -lm -Wl,--version-script=link.T
|
ldflags := $(LDFLAGS) -shared -lm -Wl,--version-script=link.T
|
||||||
|
|
||||||
ifeq ($(platform), unix)
|
ifeq ($(platform), unix)
|
||||||
DYLIB = so
|
DYLIB = so
|
||||||
@ -57,8 +57,8 @@ endif
|
|||||||
|
|
||||||
CC := $(compiler) -Wall
|
CC := $(compiler) -Wall
|
||||||
CXX := $(subst CC,++,$(compiler)) -std=gnu++0x -Wall
|
CXX := $(subst CC,++,$(compiler)) -std=gnu++0x -Wall
|
||||||
flags := -fPIC $(extra_flags) -I../../libretro-common/include
|
flags := $(CFLAGS) -fPIC $(extra_flags) -I../../libretro-common/include
|
||||||
asflags := -fPIC $(extra_flags)
|
asflags := $(ASFLAGS) -fPIC $(extra_flags)
|
||||||
objects :=
|
objects :=
|
||||||
|
|
||||||
ifeq (1,$(use_neon))
|
ifeq (1,$(use_neon))
|
||||||
|
@ -42,7 +42,7 @@ ifeq (debug,$(build))
|
|||||||
extra_flags += -O0 -g
|
extra_flags += -O0 -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ldflags := -shared -Wl,--version-script=link.T
|
ldflags := $(LDFLAGS) -shared -Wl,--version-script=link.T
|
||||||
|
|
||||||
ifeq ($(platform), unix)
|
ifeq ($(platform), unix)
|
||||||
DYLIB = so
|
DYLIB = so
|
||||||
@ -57,8 +57,8 @@ endif
|
|||||||
|
|
||||||
CC := $(compiler)
|
CC := $(compiler)
|
||||||
CXX := $(subst CC,++,$(compiler))
|
CXX := $(subst CC,++,$(compiler))
|
||||||
flags := -fPIC $(extra_flags) -I../../libretro-common/include
|
flags := $(CFLAGS) -fPIC $(extra_flags) -I../../libretro-common/include
|
||||||
asflags := -fPIC $(extra_flags)
|
asflags := $(ASFLAGS) -fPIC $(extra_flags)
|
||||||
objects :=
|
objects :=
|
||||||
flags += -std=c99
|
flags += -std=c99
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user