Module Name: src Committed By: joerg Date: Sun Feb 5 10:13:18 UTC 2017
Modified Files: src/sys/arch/i386/stand/efiboot: Makefile.efiboot Log Message: Unbreak clang again. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/i386/stand/efiboot/Makefile.efiboot 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/efiboot/Makefile.efiboot diff -u src/sys/arch/i386/stand/efiboot/Makefile.efiboot:1.4 src/sys/arch/i386/stand/efiboot/Makefile.efiboot:1.5 --- src/sys/arch/i386/stand/efiboot/Makefile.efiboot:1.4 Sat Feb 4 16:14:04 2017 +++ src/sys/arch/i386/stand/efiboot/Makefile.efiboot Sun Feb 5 10:13:18 2017 @@ -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 @@ CPPFLAGS+= -I${.CURDIR}/../../lib 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