summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorpho <pho@FreeBSD.org>2010-10-08 10:27:52 +0000
committerpho <pho@FreeBSD.org>2010-10-08 10:27:52 +0000
commitb4c4094b6c47fde0c244151258a2914292ae6d5b (patch)
tree6f1ef7e976c5240ed6cdcc0fa6a3484f68b5ee21 /sys/boot
parent14ef35cd73e4a947b79ef82d43099fc369a43cc8 (diff)
downloadFreeBSD-src-b4c4094b6c47fde0c244151258a2914292ae6d5b.zip
FreeBSD-src-b4c4094b6c47fde0c244151258a2914292ae6d5b.tar.gz
Ensure that a make from sys/boot does not pick up include files from
/usr/include. Discussed with: kib
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/gptboot/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile
index 3b43537..a0fad610 100644
--- a/sys/boot/i386/gptboot/Makefile
+++ b/sys/boot/i386/gptboot/Makefile
@@ -36,6 +36,7 @@ CFLAGS= -DBOOTPROG=\"gptboot\" \
-I${.CURDIR}/../common \
-I${.CURDIR}/../btx/lib -I. \
-I${.CURDIR}/../boot2 \
+ -I${.CURDIR}/../../.. \
-Wall -Waggregate-return -Wbad-function-cast -Wcast-align \
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
-Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings \
OpenPOWER on IntegriCloud