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

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

View File

@ -66,8 +66,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 \