fix -fPIC issues
This commit is contained in:
1 parent
340819e430
commit
6cdccfb2df
2 files changed
+9
-2
No files matched your search
+2
-2
@@ -185,8 +185,8 @@ ifneq ($(NOHARDENING),1)
|
||||
|
||||
ifndef IS_WINDOWS
|
||||
ifndef IS_DARWIN
|
||||
ifeq ($(ARCH),x86_64)
|
||||
CFLAGS += -fcf-protection=full
|
||||
ifneq ($(findstring x86_64,$(shell $(CC) -dumpmachine 2>/dev/null)),)
|
||||
DEFCFLAGS += -fcf-protection=full
|
||||
endif
|
||||
DEFCFLAGS += -fPIC
|
||||
DEFCXXFLAGS += -fPIC
|
||||
|
||||
Reference in new issue
Block a user