aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-11-13 23:08:46 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-11-13 23:08:46 +0000
commit73de3d0ff738a157793072c402949ebda183dffd (patch)
tree9388528b6c15b662a1b82b861a9e1dd3668ce080 /sys/boot
parent38cd1ee7d3308704726c049f76058d2bfaf5e3f7 (diff)
Notes
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/boot2/Makefile5
-rw-r--r--sys/boot/i386/gptboot/Makefile5
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile
index 578b452c6051..59ae6a71e872 100644
--- a/sys/boot/i386/boot2/Makefile
+++ b/sys/boot/i386/boot2/Makefile
@@ -27,8 +27,9 @@ BTX= ${.CURDIR}/../btx
ORG1= 0x7c00
ORG2= 0x1000
-CFLAGS= -elf -I${.CURDIR}/../btx/lib -I. -fno-builtin \
- -Os -malign-functions=0 -malign-jumps=0 -malign-loops=0 -mrtd \
+CFLAGS= -elf -I${.CURDIR}/../btx/lib -I. \
+ -Os -fno-builtin -fforce-addr -fschedule-insns \
+ -malign-functions=0 -malign-jumps=0 -malign-loops=0 -mrtd \
-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 578b452c6051..59ae6a71e872 100644
--- a/sys/boot/i386/gptboot/Makefile
+++ b/sys/boot/i386/gptboot/Makefile
@@ -27,8 +27,9 @@ BTX= ${.CURDIR}/../btx
ORG1= 0x7c00
ORG2= 0x1000
-CFLAGS= -elf -I${.CURDIR}/../btx/lib -I. -fno-builtin \
- -Os -malign-functions=0 -malign-jumps=0 -malign-loops=0 -mrtd \
+CFLAGS= -elf -I${.CURDIR}/../btx/lib -I. \
+ -Os -fno-builtin -fforce-addr -fschedule-insns \
+ -malign-functions=0 -malign-jumps=0 -malign-loops=0 -mrtd \
-Wall -Waggregate-return -Wbad-function-cast -Wcast-align \
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
-Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings