pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/xenkernel48 Restrict -falign-functions to GCC.
details: https://anonhg.NetBSD.org/pkgsrc/rev/94032581a1b0
branches: trunk
changeset: 363846:94032581a1b0
user: joerg <joerg%pkgsrc.org@localhost>
date: Sat Jun 17 19:53:10 2017 +0000
description:
Restrict -falign-functions to GCC.
diffstat:
sysutils/xenkernel48/Makefile | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 419b92f998cc -r 94032581a1b0 sysutils/xenkernel48/Makefile
--- a/sysutils/xenkernel48/Makefile Sat Jun 17 19:52:13 2017 +0000
+++ b/sysutils/xenkernel48/Makefile Sat Jun 17 19:53:10 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2017/04/13 13:08:34 bouyer Exp $
+# $NetBSD: Makefile,v 1.4 2017/06/17 19:53:10 joerg Exp $
VERSION= 4.8.0
DISTNAME= xen-${VERSION}
@@ -39,8 +39,9 @@
-Wno-error=address-of-packed-member \
-Wno-error=initializer-overrides \
-Wno-error=tautological-compare
+.elif !empty(PKGSRC_COMPILER:Mgcc)
+EXTRA_CFLAGS+= -falign-functions=16
.endif
-EXTRA_CFLAGS+= -falign-functions=16
MAKE_ENV+= EXTRA_CFLAGS=${EXTRA_CFLAGS:Q}
Home |
Main Index |
Thread Index |
Old Index