1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-12 14:29:28 +00:00

Add -fno-strength-reduce to neutralize possible bad effect of -O2

specified directly
This commit is contained in:
Andrey A. Chernov 1995-10-10 21:11:22 +00:00
parent 143d7a5499
commit 1d5aafcd70
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11416
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.31 1995/07/25 00:35:40 bde Exp $
# $Id: Makefile,v 1.32 1995/08/19 15:59:19 joerg Exp $
#
PROG= boot
@ -8,7 +8,8 @@ SRCS+= probe_keyboard.c io.c disk.c sys.c
BINDIR= /usr/mdec
BINMODE= 444
CFLAGS= -O2 -DDO_BAD144 -DBOOTWAIT=${BOOTWAIT} -DCOMCONSOLE=0x3F8
CFLAGS= -O2 -fno-strength-reduce \
-DDO_BAD144 -DBOOTWAIT=${BOOTWAIT} -DCOMCONSOLE=0x3F8
CFLAGS+= -DBOOTSEG=${BOOTSEG} -DBOOTSTACK=${BOOTSTACK}
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../..

View File

@ -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