aboutsummaryrefslogtreecommitdiffstats
path: root/lang/clang-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/clang-devel/Makefile')
-rw-r--r--lang/clang-devel/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/clang-devel/Makefile b/lang/clang-devel/Makefile
index 03d8601346cf..4673bb9557d9 100644
--- a/lang/clang-devel/Makefile
+++ b/lang/clang-devel/Makefile
@@ -140,10 +140,11 @@ pre-build:
${WRKSRC}/${RELTYPE}/lib/
${LN} -sf ${LLVM_PREFIX}/lib/libLLVMTableGen.a ${WRKSRC}/${RELTYPE}/lib/
${LN} -sf ${LLVM_PREFIX}/lib/libLLVMSupport.a ${WRKSRC}/${RELTYPE}/lib/
- cd ${WRKSRC}/utils/unittest && ${MAKE_CMD}
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC}/utils/unittest
post-build:
- @cd ${WRKSRC}/tools/clang/docs/tools && ${MAKE_CMD} man html ps
+ ${SETENV} ${MAKE_ENV} \
+ ${MAKE_CMD} -C ${WRKSRC}/tools/clang/docs/tools man html ps
post-install:
${STRIP_CMD} ${STAGEDIR}${LLVM_PREFIX}/lib/libclang.so