pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/haxm haxm: Disable Werror the standard way f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/11953c6db70d
branches:  trunk
changeset: 453354:11953c6db70d
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat May 29 06:47:05 2021 +0000

description:
haxm: Disable Werror the standard way for share/mk.

Don't use compiler flags that may not be supported in older compilers
(notably on NetBSD 9)...

diffstat:

 emulators/haxm/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r a748ed740a1e -r 11953c6db70d emulators/haxm/Makefile
--- a/emulators/haxm/Makefile   Sat May 29 06:35:48 2021 +0000
+++ b/emulators/haxm/Makefile   Sat May 29 06:47:05 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2021/02/05 16:18:51 kamil Exp $
+# $NetBSD: Makefile,v 1.18 2021/05/29 06:47:05 nia Exp $
 
 DISTNAME=      haxm-7.5.6
 CATEGORIES=    emulators
@@ -31,7 +31,8 @@
 
 .include "../../mk/compiler.mk"
 
-CFLAGS+=       -Wno-error=address-of-packed-member
+MAKE_FLAGS+=   NOCLANGERROR=1
+MAKE_FLAGS+=   NOGCCERROR=1
 
 KMOD=          haxm.kmod
 KMODULEDIR=    stand/${MACHINE}/${OS_VERSION}/modules/haxm



Home | Main Index | Thread Index | Old Index