summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/boot/i386/boot2/Makefile4
-rw-r--r--sys/boot/i386/gptboot/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile
index be61873..12fa148 100644
--- a/sys/boot/i386/boot2/Makefile
+++ b/sys/boot/i386/boot2/Makefile
@@ -27,9 +27,9 @@ BTX= ${.CURDIR}/../btx
ORG1= 0x7c00
ORG2= 0x1000
-CFLAGS= -elf -ffreestanding -Os -fno-builtin -fforce-addr -fdata-sections \
+CFLAGS= -elf -ffreestanding -Os -fno-builtin \
-fno-align-functions -fno-align-jumps -fno-align-loops -fno-align-labels \
- -mrtd -mpreferred-stack-boundary=2 \
+ -mrtd \
-I${.CURDIR}/../btx/lib -I. \
-Wall -Waggregate-return -Wbad-function-cast -Wcast-align \
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile
index be61873..12fa148 100644
--- a/sys/boot/i386/gptboot/Makefile
+++ b/sys/boot/i386/gptboot/Makefile
@@ -27,9 +27,9 @@ BTX= ${.CURDIR}/../btx
ORG1= 0x7c00
ORG2= 0x1000
-CFLAGS= -elf -ffreestanding -Os -fno-builtin -fforce-addr -fdata-sections \
+CFLAGS= -elf -ffreestanding -Os -fno-builtin \
-fno-align-functions -fno-align-jumps -fno-align-loops -fno-align-labels \
- -mrtd -mpreferred-stack-boundary=2 \
+ -mrtd \
-I${.CURDIR}/../btx/lib -I. \
-Wall -Waggregate-return -Wbad-function-cast -Wcast-align \
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
OpenPOWER on IntegriCloud