Module Name:    src
Committed By:   abs
Date:           Wed May 21 14:01:30 UTC 2014

Modified Files:
        src/lib/libcurses: Makefile

Log Message:
Add workaround for lib/48827 for vax to avoid segv in sysinst for now


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/lib/libcurses/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libcurses/Makefile
diff -u src/lib/libcurses/Makefile:1.68 src/lib/libcurses/Makefile:1.69
--- src/lib/libcurses/Makefile:1.68	Sat Apr 21 14:39:35 2012
+++ src/lib/libcurses/Makefile	Wed May 21 14:01:30 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.68 2012/04/21 14:39:35 roy Exp $
+#	$NetBSD: Makefile,v 1.69 2014/05/21 14:01:30 abs Exp $
 #	@(#)Makefile	8.2 (Berkeley) 1/2/94
 
 .include <bsd.own.mk>
@@ -176,6 +176,11 @@ MLINKS+= curses_addch.3 addch.3 curses_a
 	 curses_touch.3 wtouchln.3 curses_underscore.3 wunderend.3 \
 	 curses_underscore.3 wunderscore.3 curses_line.3 wvline.3
 
+# sysinst crashes under gcc 4.1 after selecting partition sizes - PR lib/48827
+.if ${HAVE_GCC:U} == "4" && ${ACTIVE_CC} == "gcc" && ${MACHINE_ARCH} == "vax"
+COPTS.refresh.c+=	-fno-guess-branch-probability
+.endif
+
 .if make(install)
 SUBDIR+= PSD.doc
 .endif

Reply via email to