mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Make default target triple match base clang.
PR: 194487 Submitted by: Jan Beich <jbeich@vfemail.net>
This commit is contained in:
parent
d378dba19e
commit
3d2da73a0e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374932
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user