Fix C++ flags handling (fix relocation error on Fedora 41)
This commit is contained in:
3 files changed
+5
-4
No files matched your search
@@ -177,6 +177,7 @@ ifneq ($(NOHARDENING),1)
|
||||
CFLAGS += -fcf-protection=full
|
||||
endif
|
||||
DEFCFLAGS += -fPIE
|
||||
DEFCXXFLAGS += -fPIE
|
||||
DEFLDFLAGS += -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -pie
|
||||
endif
|
||||
endif
|
||||
|
||||
Reference in new issue
Block a user