summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/gptboot/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-05-10 00:53:45 +0000
committerobrien <obrien@FreeBSD.org>2002-05-10 00:53:45 +0000
commitb12dc54a67fb99c10552075b1dbfa0deaef54fc6 (patch)
tree7d6c8433de2242ab0ff260f4bde9e2703f878b63 /sys/boot/i386/gptboot/Makefile
parent09f3564bdff561a0aee3ee784f1e59caf926702b (diff)
downloadFreeBSD-src-b12dc54a67fb99c10552075b1dbfa0deaef54fc6.zip
FreeBSD-src-b12dc54a67fb99c10552075b1dbfa0deaef54fc6.tar.gz
-ffreestanding is the word for /sys.
Diffstat (limited to 'sys/boot/i386/gptboot/Makefile')
-rw-r--r--sys/boot/i386/gptboot/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile
index 5425c08..be61873 100644
--- a/sys/boot/i386/gptboot/Makefile
+++ b/sys/boot/i386/gptboot/Makefile
@@ -27,10 +27,10 @@ BTX= ${.CURDIR}/../btx
ORG1= 0x7c00
ORG2= 0x1000
-CFLAGS= -elf -I${.CURDIR}/../btx/lib -I. \
- -Os -fno-builtin -fforce-addr -fdata-sections \
- -malign-functions=0 -malign-jumps=0 -malign-loops=0 -mrtd \
- -mpreferred-stack-boundary=2 \
+CFLAGS= -elf -ffreestanding -Os -fno-builtin -fforce-addr -fdata-sections \
+ -fno-align-functions -fno-align-jumps -fno-align-loops -fno-align-labels \
+ -mrtd -mpreferred-stack-boundary=2 \
+ -I${.CURDIR}/../btx/lib -I. \
-Wall -Waggregate-return -Wbad-function-cast -Wcast-align \
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
-Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings
OpenPOWER on IntegriCloud