Fix C++ flags handling (fix relocation error on Fedora 41)

This commit is contained in:
Philippe Teuwen committed 2026-02-28 18:15:44 +01:00
1 parent f9cfda9a72
commit 55e58466aa
3 files changed
+5 -4

No files matched your search

+1
View File
@@ -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