aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/clay/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/clay/Makefile b/lang/clay/Makefile
index 8f9f3d2ef2a2..362770eec25f 100644
--- a/lang/clay/Makefile
+++ b/lang/clay/Makefile
@@ -24,14 +24,16 @@ WRKSRC= ${WRKDIR}/jckarter-${PORTNAME}-${GITVERSION}
ONLY_FOR_ARCHS= i386 amd64
-CC= clang
-CXX= clang++
-
USE_CMAKE= yes
CMAKE_ARGS+= -G "Unix Makefiles" -DBUILD_FIX=false
.include <bsd.port.pre.mk>
+.if ${ARCH} == amd64
+CC= clang
+CXX= clang++
+.endif
+
.if ${OSVERSION} < 900044
BUILD_DEPENDS+= clang>=3.0:${PORTSDIR}/lang/clang
RUN_DEPENDS+= clang>=3.0:${PORTSDIR}/lang/clang