summaryrefslogtreecommitdiffstats
path: root/sys/i386/boot/netboot
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-10-10 21:11:22 +0000
committerache <ache@FreeBSD.org>1995-10-10 21:11:22 +0000
commit864b2920277cda52e519e0c7885019c11ef28a17 (patch)
treeb8ff5ada2009aec95c066f0df75e1acb797eff50 /sys/i386/boot/netboot
parentba18d18f326ce164eec388c53e9e209fc13bb425 (diff)
downloadFreeBSD-src-864b2920277cda52e519e0c7885019c11ef28a17.zip
FreeBSD-src-864b2920277cda52e519e0c7885019c11ef28a17.tar.gz
Add -fno-strength-reduce to neutralize possible bad effect of -O2
specified directly
Diffstat (limited to 'sys/i386/boot/netboot')
-rw-r--r--sys/i386/boot/netboot/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/boot/netboot/Makefile b/sys/i386/boot/netboot/Makefile
index 51a8b5f..5fb1b61 100644
--- a/sys/i386/boot/netboot/Makefile
+++ b/sys/i386/boot/netboot/Makefile
@@ -25,7 +25,8 @@ SRCS= start2.S main.c misc.c bootmenu.c rpc.c
BINDIR= /usr/mdec
BINMODE= 555
-CFLAGS= -O2 -DNFS -DROMSIZE=${ROMSIZE} -DRELOC=${RELOCADDR} -DASK_BOOT
+CFLAGS= -O2 -fno-strength-reduce \
+ -DNFS -DROMSIZE=${ROMSIZE} -DRELOC=${RELOCADDR} -DASK_BOOT
NS8390= -DINCLUDE_WD -DWD_DEFAULT_MEM=0xD0000
NS8390+= -DINCLUDE_NE -DNE_BASE=0x320
NS8390+= -DINCLUDE_3COM -D_3COM_BASE=0x300
OpenPOWER on IntegriCloud