Module Name: src Committed By: martin Date: Sat May 24 07:38:42 UTC 2014
Modified Files: src/sys/arch/vax/boot/boot: Makefile Log Message: Force -O1 when compiling this, it doesn't work with -O2 (need to investigate later) To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/arch/vax/boot/boot/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/vax/boot/boot/Makefile diff -u src/sys/arch/vax/boot/boot/Makefile:1.41 src/sys/arch/vax/boot/boot/Makefile:1.42 --- src/sys/arch/vax/boot/boot/Makefile:1.41 Wed Aug 21 06:15:41 2013 +++ src/sys/arch/vax/boot/boot/Makefile Sat May 24 07:38:42 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.41 2013/08/21 06:15:41 matt Exp $ +# $NetBSD: Makefile,v 1.42 2014/05/24 07:38:42 martin Exp $ S= ${.CURDIR}/../../../.. @@ -11,6 +11,8 @@ SRCS= srt0.S boot.c devopen.c conf.c aut LIBC= CLEANFILES+=${PROG} ${PROG}.sym vers.c +# XXX - hack, doesn't work with -O2 and gcc 4.8 +CFLAGS+=-O1 CPPFLAGS+=-DSUPPORT_BOOTPARAMS -DSUPPORT_BOOTP -DSUPPORT_DHCP -D_STANDALONE \ -DNO_MID_CHECK #CPPFLAGS+=-DBOOTP_DEBUG -DNETIF_DEBUG -DETHER_DEBUG -DNFS_DEBUG -DDEV_DEBUG \