build: Always place -fno-pie before -fno-pic

This commit is contained in:
mintsuki 2022-08-09 15:22:15 +02:00
parent dc3a81cb61
commit 7a9a04d72f
2 changed files with 3 additions and 3 deletions

View File

@ -65,8 +65,8 @@ override INTERNAL_CFLAGS += \
-march=i686 \
-mtune=generic \
-mabi=sysv \
-fno-pic \
-fno-pie
-fno-pie \
-fno-pic
endif
ifeq ($(TARGET), uefi-x86-64)

View File

@ -24,8 +24,8 @@ override INTERNAL_CFLAGS := \
-fno-stack-check \
-fno-strict-aliasing \
-fno-lto \
-fno-pic \
-fno-pie \
-fno-pic \
-fomit-frame-pointer \
-nostdinc \
-Wno-address-of-packed-member \