diff options
author | antoine <antoine@FreeBSD.org> | 2014-11-22 01:22:06 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-11-22 01:22:06 +0800 |
commit | e2ef40808724d7bbb30946850717105848df8388 (patch) | |
tree | b5023c70f2c93e58e53df1a20fe36c17de37b8e5 /Mk/Uses | |
parent | ed8b58616d3bf4b7cd6ce0fae787ad8205b059f8 (diff) | |
download | freebsd-ports-gnome-e2ef40808724d7bbb30946850717105848df8388.tar.gz freebsd-ports-gnome-e2ef40808724d7bbb30946850717105848df8388.tar.zst freebsd-ports-gnome-e2ef40808724d7bbb30946850717105848df8388.zip |
Enforce clang 3.4 in USES=c*11*,objc,gnustep as clang 3.3 has some bugs
Requested by: bapt
PR: ports/195122
Differential Revision: https://reviews.freebsd.org/D1181
Exp-run by: self
With hat: portmgr
Diffstat (limited to 'Mk/Uses')
-rw-r--r-- | Mk/Uses/compiler.mk | 12 | ||||
-rw-r--r-- | Mk/Uses/objc.mk | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/Mk/Uses/compiler.mk b/Mk/Uses/compiler.mk index a5bb4cb8d480..4f715ea3d507 100644 --- a/Mk/Uses/compiler.mk +++ b/Mk/Uses/compiler.mk @@ -143,8 +143,8 @@ CHOSEN_COMPILER_TYPE= gcc .if (defined(FAVORITE_COMPILER) && ${FAVORITE_COMPILER} == gcc) || (${ARCH} != amd64 && ${ARCH} != i386) # clang not always supported on Tier-2 USE_GCC= yes CHOSEN_COMPILER_TYPE= gcc -.elif (${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 33) || ${COMPILER_TYPE} == gcc -.if ${ALT_COMPILER_TYPE} == clang && ${ALT_COMPILER_VERSION} >= 33 +.elif (${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 34) || ${COMPILER_TYPE} == gcc +.if ${ALT_COMPILER_TYPE} == clang && ${ALT_COMPILER_VERSION} >= 34 CPP= clang-cpp CC= clang CXX= clang++ @@ -169,8 +169,8 @@ LDFLAGS+= -B${LOCALBASE}/bin .if (defined(FAVORITE_COMPILER) && ${FAVORITE_COMPILER} == gcc) || (${ARCH} != amd64 && ${ARCH} != i386) # clang not always supported on Tier-2 USE_GCC= yes CHOSEN_COMPILER_TYPE= gcc -.elif (${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 33) || ${COMPILER_TYPE} == gcc -.if ${ALT_COMPILER_TYPE} == clang && ${ALT_COMPILER_VERSION} >= 33 +.elif (${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 34) || ${COMPILER_TYPE} == gcc +.if ${ALT_COMPILER_TYPE} == clang && ${ALT_COMPILER_VERSION} >= 34 CPP= clang-cpp CC= clang CXX= clang++ @@ -195,8 +195,8 @@ LDFLAGS+= -B${LOCALBASE}/bin .if (defined(FAVORITE_COMPILER) && ${FAVORITE_COMPILER} == gcc) || (${ARCH} != amd64 && ${ARCH} != i386) # clang not always supported on Tier-2 USE_GCC= yes CHOSEN_COMPILER_TYPE= gcc -.elif (${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 33) || ${COMPILER_TYPE} == gcc -.if ${ALT_COMPILER_TYPE} == clang && ${ALT_COMPILER_VERSION} >= 33 +.elif (${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 34) || ${COMPILER_TYPE} == gcc +.if ${ALT_COMPILER_TYPE} == clang && ${ALT_COMPILER_VERSION} >= 34 CPP= clang-cpp CC= clang CXX= clang++ diff --git a/Mk/Uses/objc.mk b/Mk/Uses/objc.mk index e22f00785f27..41ec8914a4ce 100644 --- a/Mk/Uses/objc.mk +++ b/Mk/Uses/objc.mk @@ -39,8 +39,8 @@ ALT_COMPILER_TYPE= gcc .endif # We do always need clang -.if (${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 33) || ${COMPILER_TYPE} != clang -.if ${ALT_COMPILER_TYPE} == clang && ${ALT_COMPILER_VERSION} >= 33 +.if (${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 34) || ${COMPILER_TYPE} != clang +.if ${ALT_COMPILER_TYPE} == clang && ${ALT_COMPILER_VERSION} >= 34 CC= /usr/bin/clang CPP= /usr/bin/clang-cpp CXX= /usr/bin/clang++ |