1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Allow building with clang when GNU ar (from devel/binutils) is installed

and LOCALBASE/bin comes before /usr/bin in $PATH

PR:		ports/182682
Submitted by:	Christoph Moench-Tegeder <cmt@burggraben.net>
This commit is contained in:
Rene Ladan 2013-10-14 12:11:22 +00:00
parent 1ce9fcd054
commit b046a4b413
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330311

View File

@ -140,6 +140,7 @@ CXX= clang++
.endif
GYP_DEFINES+= clang=1
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-clang
CONFIGURE_ENV+= AR=/usr/bin/ar
.endif
.if ${OSVERSION} >= 1000052 && !exists(${LOCALBASE}/include/execinfo.h)