aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2010-11-22 23:36:31 +0800
committermm <mm@FreeBSD.org>2010-11-22 23:36:31 +0800
commit07cbb895a390c096b24bb9e1fe2ed2c673496665 (patch)
tree298b4f28c3875ad77309388b1baaa5f6ad195693 /multimedia
parent2f02da5f69fb83edf13164f70d39b52a70b3f8dc (diff)
downloadfreebsd-ports-gnome-07cbb895a390c096b24bb9e1fe2ed2c673496665.tar.gz
freebsd-ports-gnome-07cbb895a390c096b24bb9e1fe2ed2c673496665.tar.zst
freebsd-ports-gnome-07cbb895a390c096b24bb9e1fe2ed2c673496665.zip
- Clear ARCH and TARGET_ARCH in configure and make environment
PR: ports/151224 Submitted by: Olivier Cochard-Labbé <olivier@cochard.me>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/x264/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/multimedia/x264/Makefile b/multimedia/x264/Makefile
index acaacf019244..ce7ba2e15dfc 100644
--- a/multimedia/x264/Makefile
+++ b/multimedia/x264/Makefile
@@ -59,13 +59,10 @@ CONFIGURE_ARGS+= --disable-asm
LDFLAGS+= -fstack-protector
.endif
-.if ${ARCH}=="i386"
-MAKE_ENV+= ARCH_X86="1"
-.elif ${ARCH} == "powerpc"
-MAKE_ENV+= ARCH_PPC="1"
-.endif
-
-MAKE_ENV+= ARCH=${ARCH}
+CONFIGURE_ENV+= ARCH= \
+ TARGET_ARCH=
+MAKE_ENV+= ARCH= \
+ TARGET_ARCH=
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug