mirror of
https://github.com/limine-bootloader/limine
synced 2024-12-23 22:36:48 +03:00
build: Use uppercase PIE/PIC compilation flags
This commit is contained in:
parent
514522125b
commit
ebd1953e51
@ -68,8 +68,8 @@ override CPPFLAGS_FOR_TARGET := \
|
||||
|
||||
ifeq ($(TARGET),bios)
|
||||
override CFLAGS_FOR_TARGET += \
|
||||
-fno-pie \
|
||||
-fno-pic \
|
||||
-fno-PIE \
|
||||
-fno-PIC \
|
||||
-m32 \
|
||||
-march=i686 \
|
||||
-mabi=sysv \
|
||||
@ -81,7 +81,7 @@ endif
|
||||
|
||||
ifeq ($(TARGET),uefi-x86-64)
|
||||
override CFLAGS_FOR_TARGET += \
|
||||
-fpie \
|
||||
-fPIE \
|
||||
-m64 \
|
||||
-march=x86-64 \
|
||||
-mabi=sysv \
|
||||
@ -100,7 +100,7 @@ endif
|
||||
|
||||
ifeq ($(TARGET),uefi-ia32)
|
||||
override CFLAGS_FOR_TARGET += \
|
||||
-fpie \
|
||||
-fPIE \
|
||||
-m32 \
|
||||
-march=i686 \
|
||||
-mabi=sysv \
|
||||
@ -114,7 +114,7 @@ endif
|
||||
|
||||
ifeq ($(TARGET),uefi-aarch64)
|
||||
override CFLAGS_FOR_TARGET += \
|
||||
-fpie \
|
||||
-fPIE \
|
||||
-mgeneral-regs-only
|
||||
override CPPFLAGS_FOR_TARGET := \
|
||||
-I'$(call SHESCAPE,$(BUILDDIR))/limine-efi/inc' \
|
||||
|
@ -29,8 +29,8 @@ override CFLAGS_FOR_TARGET += \
|
||||
-fomit-frame-pointer \
|
||||
-fno-strict-aliasing \
|
||||
-fno-lto \
|
||||
-fno-pie \
|
||||
-fno-pic \
|
||||
-fno-PIE \
|
||||
-fno-PIC \
|
||||
-m32 \
|
||||
-march=i686 \
|
||||
-mabi=sysv \
|
||||
|
@ -41,7 +41,7 @@ override INTERNALCFLAGS := \
|
||||
-fno-stack-protector \
|
||||
-fno-stack-check \
|
||||
-fno-lto \
|
||||
-fpie \
|
||||
-fPIE \
|
||||
-mgeneral-regs-only \
|
||||
-mno-red-zone \
|
||||
-I. \
|
||||
@ -53,8 +53,8 @@ override INTERNALCFLAGS_MB := \
|
||||
-fno-stack-protector \
|
||||
-fno-stack-check \
|
||||
-fno-lto \
|
||||
-fno-pie \
|
||||
-fno-pic \
|
||||
-fno-PIE \
|
||||
-fno-PIC \
|
||||
-m32 \
|
||||
-march=i686 \
|
||||
-mabi=sysv \
|
||||
|
Loading…
Reference in New Issue
Block a user