pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/haxm haxm: Pass -Wno-error=address-of-packed...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c20627346b9c
branches:  trunk
changeset: 446231:c20627346b9c
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Fri Feb 05 16:18:51 2021 +0000

description:
haxm: Pass -Wno-error=address-of-packed-member unconditionally

Fixes the build with GCC 9.3.0 on NetBSD.

diffstat:

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

diffs (19 lines):

diff -r d0f996ea49c4 -r c20627346b9c emulators/haxm/Makefile
--- a/emulators/haxm/Makefile   Fri Feb 05 16:16:48 2021 +0000
+++ b/emulators/haxm/Makefile   Fri Feb 05 16:18:51 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2020/01/20 12:49:45 kamil Exp $
+# $NetBSD: Makefile,v 1.17 2021/02/05 16:18:51 kamil Exp $
 
 DISTNAME=      haxm-7.5.6
 CATEGORIES=    emulators
@@ -31,9 +31,7 @@
 
 .include "../../mk/compiler.mk"
 
-.if !empty(PKGSRC_COMPILER:Mclang)
 CFLAGS+=       -Wno-error=address-of-packed-member
-.endif
 
 KMOD=          haxm.kmod
 KMODULEDIR=    stand/${MACHINE}/${OS_VERSION}/modules/haxm



Home | Main Index | Thread Index | Old Index