aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2014-12-19 07:47:00 +0800
committerbrooks <brooks@FreeBSD.org>2014-12-19 07:47:00 +0800
commit5043c0ac73149e30f695b51bb2d7fdb97566bc61 (patch)
tree447e341389a34fdd850dc557adef097d3267c8f9 /lang
parentb47120b01f9b4a87ff18aba433399719b0bfc860 (diff)
downloadfreebsd-ports-gnome-5043c0ac73149e30f695b51bb2d7fdb97566bc61.tar.gz
freebsd-ports-gnome-5043c0ac73149e30f695b51bb2d7fdb97566bc61.tar.zst
freebsd-ports-gnome-5043c0ac73149e30f695b51bb2d7fdb97566bc61.zip
Make default target triple match base clang.
PR: 194487 Submitted by: Jan Beich <jbeich@vfemail.net>
Diffstat (limited to 'lang')
-rw-r--r--lang/clang34/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/clang34/Makefile b/lang/clang34/Makefile
index af54c28d43da..0ca410af3249 100644
--- a/lang/clang34/Makefile
+++ b/lang/clang34/Makefile
@@ -2,7 +2,7 @@
PORTNAME= clang
DISTVERSION= 3.4.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= lang devel
MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/
PKGNAMESUFFIX= ${LLVM_SUFFIX}
@@ -75,6 +75,9 @@ PORTDATA= scanview.css \
.include <bsd.port.options.mk>
+# keep in sync with /usr/src/lib/clang/clang.build.mk
+CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL}
+
.if ${PORT_OPTIONS:MASSERTS}
CONFIGURE_ARGS+= --enable-assertions
RELTYPE= Release+Asserts