makefile: default to -fPIE on REPLXX=1
CXX may have different preferences on PIEness, we want to give it the option
This commit is contained in:
parent
ec92b1d5ba
commit
86e0a4bae1
3
makefile
3
makefile
@ -100,6 +100,9 @@ ifeq ($(origin LD_LIBS),command line)
|
|||||||
i_LIBS_LD := $(LD_LIBS)
|
i_LIBS_LD := $(LD_LIBS)
|
||||||
custom = 1
|
custom = 1
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(REPLXX),1)
|
||||||
|
i_PIE += -fPIE
|
||||||
|
endif
|
||||||
ifeq ($(origin PIE),command line)
|
ifeq ($(origin PIE),command line)
|
||||||
i_PIE := $(PIE)
|
i_PIE := $(PIE)
|
||||||
custom = 1
|
custom = 1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user