aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-11-15 04:23:40 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-11-15 04:23:40 +0000
commitc8e02dfe73bdd06c42adacd0249afb8490d8458b (patch)
tree26d9af6be968b89a36c2bab7f9a520e12ef3c7b0 /sys/boot
parenteb33411e9bac70e56d6ae4a5dcf8a529e1786085 (diff)
Notes
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/boot2/Makefile3
-rw-r--r--sys/boot/i386/gptboot/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile
index 59ae6a71e872..b27780bfaf12 100644
--- a/sys/boot/i386/boot2/Makefile
+++ b/sys/boot/i386/boot2/Makefile
@@ -28,8 +28,9 @@ ORG1= 0x7c00
ORG2= 0x1000
CFLAGS= -elf -I${.CURDIR}/../btx/lib -I. \
- -Os -fno-builtin -fforce-addr -fschedule-insns \
+ -Os -fno-builtin -fforce-addr -fdata-sections \
-malign-functions=0 -malign-jumps=0 -malign-loops=0 -mrtd \
+ -mpreferred-stack-boundary=2 \
-Wall -Waggregate-return -Wbad-function-cast -Wcast-align \
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
-Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings
diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile
index 59ae6a71e872..b27780bfaf12 100644
--- a/sys/boot/i386/gptboot/Makefile
+++ b/sys/boot/i386/gptboot/Makefile
@@ -28,8 +28,9 @@ ORG1= 0x7c00
ORG2= 0x1000
CFLAGS= -elf -I${.CURDIR}/../btx/lib -I. \
- -Os -fno-builtin -fforce-addr -fschedule-insns \
+ -Os -fno-builtin -fforce-addr -fdata-sections \
-malign-functions=0 -malign-jumps=0 -malign-loops=0 -mrtd \
+ -mpreferred-stack-boundary=2 \
-Wall -Waggregate-return -Wbad-function-cast -Wcast-align \
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
-Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings