Build the sogo executable as PIE (thanks to Jeroen Dekkers)

pull/2/merge
Wolfgang Sourdeau 2012-10-20 15:06:34 -04:00
commit db19cae692
1 changed files with 3 additions and 2 deletions

View File

@ -4,9 +4,10 @@ include ../config.make
include $(GNUSTEP_MAKEFILES)/common.make
include ../Version
ADDITIONAL_INCLUDE_DIRS +=
ADDITIONAL_OBJCFLAGS += -fPIE
ADDITIONAL_INCLUDE_DIRS +=
ADDITIONAL_LIB_DIRS += -L../SOPE/GDLContentStore/obj/
ADDITIONAL_LDFLAGS += -Wl,--no-as-needed
ADDITIONAL_LDFLAGS += -Wl,--no-as-needed -fPIE -pie
SOGOD = sogod
TOOL_NAME = $(SOGOD)