Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/vax/boot/boot Force -O1 when compiling this, it doe...



details:   https://anonhg.NetBSD.org/src/rev/b716c7594967
branches:  trunk
changeset: 796197:b716c7594967
user:      martin <martin%NetBSD.org@localhost>
date:      Sat May 24 07:38:42 2014 +0000

description:
Force -O1 when compiling this, it doesn't work with -O2 (need to investigate
later)

diffstat:

 sys/arch/vax/boot/boot/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 16027e05283a -r b716c7594967 sys/arch/vax/boot/boot/Makefile
--- a/sys/arch/vax/boot/boot/Makefile   Fri May 23 23:38:48 2014 +0000
+++ b/sys/arch/vax/boot/boot/Makefile   Sat May 24 07:38:42 2014 +0000
@@ -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 @@
 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 \



Home | Main Index | Thread Index | Old Index