:: commit a4c22dfba9f644f73bff397179f1709eeacbee27

mintsuki <mintsuki@protonmail.com> — 2024-08-09 07:21

parents: 530e28e846

build: Get rid of -fno-PIE as it is redundant with -fno-PIC

diff --git a/common/GNUmakefile b/common/GNUmakefile
index 3074e16d..3368a341 100644
--- a/common/GNUmakefile
+++ b/common/GNUmakefile
@@ -68,7 +68,6 @@ override NASMFLAGS_FOR_TARGET += \
 
 ifeq ($(TARGET),bios)
     override CFLAGS_FOR_TARGET += \
-        -fno-PIE \
         -fno-PIC \
         -m32 \
         -march=i686 \
diff --git a/decompressor/GNUmakefile b/decompressor/GNUmakefile
index bc06ba04..95f95bf7 100644
--- a/decompressor/GNUmakefile
+++ b/decompressor/GNUmakefile
@@ -36,7 +36,6 @@ override CFLAGS_FOR_TARGET += \
     -fomit-frame-pointer \
     -fno-strict-aliasing \
     -fno-lto \
-    -fno-PIE \
     -fno-PIC \
     -m32 \
     -march=i686 \
diff --git a/test/GNUmakefile b/test/GNUmakefile
index a0904780..a0247219 100644
--- a/test/GNUmakefile
+++ b/test/GNUmakefile
@@ -99,7 +99,6 @@ override CFLAGS_MB := \
     -fno-stack-protector \
     -fno-stack-check \
     -fno-lto \
-    -fno-PIE \
     -fno-PIC \
     -m32 \
     -march=i686 \
tab: 248 wrap: offon