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:
dzaima 2023-01-17 01:38:56 +02:00
parent ec92b1d5ba
commit 86e0a4bae1

View File

@ -100,6 +100,9 @@ ifeq ($(origin LD_LIBS),command line)
i_LIBS_LD := $(LD_LIBS)
custom = 1
endif
ifeq ($(REPLXX),1)
i_PIE += -fPIE
endif
ifeq ($(origin PIE),command line)
i_PIE := $(PIE)
custom = 1