Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/stand/efiboot Unbreak clang again.
details: https://anonhg.NetBSD.org/src/rev/7234dae40f27
branches: trunk
changeset: 351187:7234dae40f27
user: joerg <joerg%NetBSD.org@localhost>
date: Sun Feb 05 10:13:18 2017 +0000
description:
Unbreak clang again.
diffstat:
sys/arch/i386/stand/efiboot/Makefile.efiboot | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 2e3f3808f8a3 -r 7234dae40f27 sys/arch/i386/stand/efiboot/Makefile.efiboot
--- a/sys/arch/i386/stand/efiboot/Makefile.efiboot Sun Feb 05 08:58:39 2017 +0000
+++ b/sys/arch/i386/stand/efiboot/Makefile.efiboot Sun Feb 05 10:13:18 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.efiboot,v 1.4 2017/02/04 16:14:04 christos Exp $
+# $NetBSD: Makefile.efiboot,v 1.5 2017/02/05 10:13:18 joerg Exp $
S= ${.CURDIR}/../../../../..
@@ -48,7 +48,7 @@
COPTS+= -ffreestanding -fPIC -fshort-wchar -fno-strict-aliasing -fno-builtin
COPTS+= -fno-stack-protector
-COPTS+= -Wno-error=unused-but-set-variable
+COPTS+= ${${ACTIVE_CC} == "gcc":? -Wno-error=unused-but-set-variable :}
COPTS+= ${${ACTIVE_CC} == "gcc":? -falign-functions=16 :}
CPPFLAGS+= -nostdinc -D_STANDALONE
CPPFLAGS+= -DEFIBOOT
Home |
Main Index |
Thread Index |
Old Index