diff --git a/Main/GNUmakefile b/Main/GNUmakefile index 382776728..962730cbc 100644 --- a/Main/GNUmakefile +++ b/Main/GNUmakefile @@ -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)