aboutsummaryrefslogtreecommitdiffstats
path: root/devel
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 /devel
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 'devel')
-rw-r--r--devel/llvm34/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/llvm34/Makefile b/devel/llvm34/Makefile
index 171423f81fa9..9c6fb0b19ad8 100644
--- a/devel/llvm34/Makefile
+++ b/devel/llvm34/Makefile
@@ -2,6 +2,7 @@
PORTNAME= llvm
PORTVERSION= 3.4.2
+PORTREVISION= 1
CATEGORIES= devel lang
MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
@@ -85,6 +86,9 @@ CONFIGURE_ARGS+=--enable-experimental-targets=R600
.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
RELEASE_TYPE= Release+Asserts