summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-04-13 07:41:49 +0000
committerwiz <wiz@pkgsrc.org>2014-04-13 07:41:49 +0000
commit04a05c34897b2ed6dab46fc41f0f53ca679bb633 (patch)
tree1b30a2954fad2c0cae8a915adb7e9dc22f4adb9b /multimedia
parentb2039fb718b1650c07e4e640caf23fc23fd2e8de (diff)
downloadpkgsrc-04a05c34897b2ed6dab46fc41f0f53ca679bb633.tar.gz
Restore -fno-integrated-as, only for NetBSD.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libvpx/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile
index 94882888459..5e994a0c314 100644
--- a/multimedia/libvpx/Makefile
+++ b/multimedia/libvpx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2014/04/12 19:06:55 adam Exp $
+# $NetBSD: Makefile,v 1.43 2014/04/13 07:41:49 wiz Exp $
DISTNAME= libvpx_1.3.0.orig
PKGNAME= ${DISTNAME:S/_/-/:S/.orig//}
@@ -81,6 +81,10 @@ CONFIGURE_ARGS+= --target=ppc32-darwin8-gcc
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CXXFLAGS+= -std=c++11
+.if ${OPSYS} == "NetBSD"
+# https://bugzilla.mozilla.org/show_bug.cgi?id=982693
+CFLAGS+= -fno-integrated-as
+.endif
.endif
.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "mipsel"