Module Name: src
Committed By: christos
Date: Tue Apr 8 15:34:18 UTC 2014
Modified Files:
src/sys/arch/i386/stand/lib: Makefile
Log Message:
make this more attractive (to me).
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 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.39 src/sys/arch/i386/stand/lib/Makefile:1.40
--- src/sys/arch/i386/stand/lib/Makefile:1.39 Tue Apr 8 09:56:04 2014
+++ src/sys/arch/i386/stand/lib/Makefile Tue Apr 8 11:34:18 2014
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2014/04/08 13:56:04 joerg Exp $
+# $NetBSD: Makefile,v 1.40 2014/04/08 15:34:18 christos Exp $
S?= ${.CURDIR}/../../../..
@@ -57,6 +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+= ${${ACTIVE_CC} == "gcc":?-O0:}
+.if ${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U} == 48
+COPTS.biosdisk_ll.c+= -O0
.endif