aboutsummaryrefslogtreecommitdiff
path: root/stand/i386
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2021-03-22 11:55:45 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2021-03-22 11:55:45 +0000
commitc8c62548bffb83f3d25e062929c45d66fea755f1 (patch)
treef19774dfaf80818e55dc42ba8169e1d961942cc6 /stand/i386
parent6ccdee8ab576577224fb9e4baed05bd0efe933fd (diff)
downloadsrc-c8c62548bffb83f3d25e062929c45d66fea755f1.tar.gz
src-c8c62548bffb83f3d25e062929c45d66fea755f1.zip
Diffstat (limited to 'stand/i386')
-rw-r--r--stand/i386/boot2/Makefile3
-rw-r--r--stand/i386/isoboot/Makefile2
2 files changed, 2 insertions, 3 deletions
diff --git a/stand/i386/boot2/Makefile b/stand/i386/boot2/Makefile
index 8758261ad45f..d5ad0f6bd12c 100644
--- a/stand/i386/boot2/Makefile
+++ b/stand/i386/boot2/Makefile
@@ -31,8 +31,7 @@ CFLAGS+=-fomit-frame-pointer \
-I${LDRSRC} \
-Wall -Waggregate-return -Wbad-function-cast -Wno-cast-align \
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
- -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings \
- -Winline
+ -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings
CFLAGS.gcc+= -Os \
-fno-asynchronous-unwind-tables \
diff --git a/stand/i386/isoboot/Makefile b/stand/i386/isoboot/Makefile
index 67936e16176a..7732882b1e5c 100644
--- a/stand/i386/isoboot/Makefile
+++ b/stand/i386/isoboot/Makefile
@@ -29,7 +29,7 @@ CFLAGS+=-DBOOTPROG=\"isoboot\" \
-Wall -Waggregate-return -Wbad-function-cast -Wno-cast-align \
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
-Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings \
- -Winline -Wno-pointer-sign
+ -Wno-pointer-sign
CFLAGS.gcc+= --param max-inline-insns-single=100
CFLAGS.clang+= -Oz ${CLANG_OPT_SMALL}