Module Name: src
Committed By: christos
Date: Mon Apr 7 21:09:55 UTC 2014
Modified Files:
src/sys/arch/i386/stand/lib: Makefile
Log Message:
XXX: gcc-4.8 bug. Passes wrong arguments to biosdisk_read(). Turn optimization
off.
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/i386/stand/lib/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/i386/stand/lib/Makefile
diff -u src/sys/arch/i386/stand/lib/Makefile:1.37 src/sys/arch/i386/stand/lib/Makefile:1.38
--- src/sys/arch/i386/stand/lib/Makefile:1.37 Fri Feb 14 15:34:27 2014
+++ src/sys/arch/i386/stand/lib/Makefile Mon Apr 7 17:09:55 2014
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2014/02/14 20:34:27 joerg Exp $
+# $NetBSD: Makefile,v 1.38 2014/04/07 21:09:55 christos Exp $
S?= ${.CURDIR}/../../../..
@@ -57,3 +57,6 @@ lib${LIB}.o:: ${OBJS}
.if ${HAVE_GCC:U} == 45
COPTS.biosdisk.c+= -fno-strict-aliasing
.endif
+.if ${HAVE_GCC:U} == 48
+COPTS.biosdisk_ll.c+= -O0
+.endif