Wed Apr 9 06:11:19 2014 UTC ()
Disable integrated assembler for clang.
See e.g. https://bugzilla.mozilla.org/show_bug.cgi?id=982693


(wiz)
diff -r1.40 -r1.41 pkgsrc/multimedia/libvpx/Makefile

cvs diff -r1.40 -r1.41 pkgsrc/multimedia/libvpx/Makefile (expand / switch to unified diff)

--- pkgsrc/multimedia/libvpx/Makefile 2014/02/19 09:44:56 1.40
+++ pkgsrc/multimedia/libvpx/Makefile 2014/04/09 06:11:19 1.41
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.40 2014/02/19 09:44:56 jperkin Exp $ 1# $NetBSD: Makefile,v 1.41 2014/04/09 06:11:19 wiz Exp $
2 2
3DISTNAME= libvpx_1.3.0.orig 3DISTNAME= libvpx_1.3.0.orig
4PKGNAME= ${DISTNAME:S/_/-/:S/.orig//} 4PKGNAME= ${DISTNAME:S/_/-/:S/.orig//}
5CATEGORIES= multimedia 5CATEGORIES= multimedia
6MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/libv/libvpx/} 6MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/libv/libvpx/}
7EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
8 8
9MAINTAINER= ryoon@NetBSD.org 9MAINTAINER= ryoon@NetBSD.org
10HOMEPAGE= http://code.google.com/p/webm/ 10HOMEPAGE= http://code.google.com/p/webm/
11COMMENT= On2 VP8 library from Google 11COMMENT= On2 VP8 library from Google
12LICENSE= modified-bsd 12LICENSE= modified-bsd
13 13
14WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} 14WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
@@ -71,26 +71,28 @@ CONFIGURE_ARGS+= --target=x86_64-darwin9 @@ -71,26 +71,28 @@ CONFIGURE_ARGS+= --target=x86_64-darwin9
71. endif 71. endif
72. elif ${MACHINE_ARCH} == "powerpc" 72. elif ${MACHINE_ARCH} == "powerpc"
73. if !empty(OS_VERSION:M9.*) 73. if !empty(OS_VERSION:M9.*)
74CONFIGURE_ARGS+= --target=ppc32-darwin9-gcc 74CONFIGURE_ARGS+= --target=ppc32-darwin9-gcc
75. else 75. else
76CONFIGURE_ARGS+= --target=ppc32-darwin8-gcc 76CONFIGURE_ARGS+= --target=ppc32-darwin8-gcc
77. endif 77. endif
78. endif 78. endif
79.endif 79.endif
80 80
81.include "../../mk/compiler.mk" 81.include "../../mk/compiler.mk"
82.if !empty(PKGSRC_COMPILER:Mclang) 82.if !empty(PKGSRC_COMPILER:Mclang)
83CXXFLAGS+= -std=c++11 83CXXFLAGS+= -std=c++11
 84# https://bugzilla.mozilla.org/show_bug.cgi?id=982693
 85CFLAGS+= -fno-integrated-as
84.endif 86.endif
85 87
86.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "mipsel" 88.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "mipsel"
87CONFIGURE_ARGS+= --target=mips32-linux-gcc 89CONFIGURE_ARGS+= --target=mips32-linux-gcc
88.endif 90.endif
89 91
90.if !empty(MACHINE_PLATFORM:MNetBSD-*-*arm*) 92.if !empty(MACHINE_PLATFORM:MNetBSD-*-*arm*)
91CONFIGURE_ARGS+= --disable-runtime-cpu-detect 93CONFIGURE_ARGS+= --disable-runtime-cpu-detect
92.endif 94.endif
93 95
94.if ${OPSYS} == "MirBSD" 96.if ${OPSYS} == "MirBSD"
95BUILDLINK_TRANSFORM+= rm:-lrt 97BUILDLINK_TRANSFORM+= rm:-lrt
96# Compiler is too old for these newfangled features 98# Compiler is too old for these newfangled features