Module Name: src Committed By: joerg Date: Tue Apr 8 13:56:04 UTC 2014
Modified Files: src/sys/arch/i386/stand/lib: Makefile Log Message: Unbreak clang build by restricting -O0 hack to gcc. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 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.38 src/sys/arch/i386/stand/lib/Makefile:1.39 --- src/sys/arch/i386/stand/lib/Makefile:1.38 Mon Apr 7 21:09:55 2014 +++ src/sys/arch/i386/stand/lib/Makefile Tue Apr 8 13:56:04 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2014/04/07 21:09:55 christos Exp $ +# $NetBSD: Makefile,v 1.39 2014/04/08 13:56:04 joerg Exp $ S?= ${.CURDIR}/../../../.. @@ -58,5 +58,5 @@ lib${LIB}.o:: ${OBJS} COPTS.biosdisk.c+= -fno-strict-aliasing .endif .if ${HAVE_GCC:U} == 48 -COPTS.biosdisk_ll.c+= -O0 +COPTS.biosdisk_ll.c+= ${${ACTIVE_CC} == "gcc":?-O0:} .endif