aboutsummaryrefslogtreecommitdiffstats
path: root/lang/clang35/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/clang35/Makefile')
-rw-r--r--lang/clang35/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/clang35/Makefile b/lang/clang35/Makefile
index 1e7303e88ac4..db065f1fc099 100644
--- a/lang/clang35/Makefile
+++ b/lang/clang35/Makefile
@@ -122,11 +122,13 @@ pre-build:
${LN} -sf ${LLVM_PREFIX}/lib/${LIBNAME} ${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
- @cd ${WRKSRC}/tools/clang/docs/tools && ${MAKE_CMD} html ps
+ ${SETENV} ${MAKE_ENV} \
+ ${MAKE_CMD} -C ${WRKSRC}/tools/clang/docs/tools man
+ ${SETENV} ${MAKE_ENV} \
+ ${MAKE_CMD} -C ${WRKSRC}/tools/clang/docs/tools html ps
post-install:
${STRIP_CMD} ${STAGEDIR}${LLVM_PREFIX}/lib/libclang.so