From 7a9a04d72f84de241a241d1e93b504bf168263af Mon Sep 17 00:00:00 2001 From: mintsuki Date: Tue, 9 Aug 2022 15:22:15 +0200 Subject: [PATCH] build: Always place -fno-pie before -fno-pic --- common/GNUmakefile | 4 ++-- decompressor/GNUmakefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/GNUmakefile b/common/GNUmakefile index cfa9ffb2..fa9db861 100644 --- a/common/GNUmakefile +++ b/common/GNUmakefile @@ -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) diff --git a/decompressor/GNUmakefile b/decompressor/GNUmakefile index b2a403a7..2f5c2e37 100644 --- a/decompressor/GNUmakefile +++ b/decompressor/GNUmakefile @@ -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 \