aboutsummaryrefslogtreecommitdiffstats
path: root/lang/clang34/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/clang34/Makefile')
-rw-r--r--lang/clang34/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/clang34/Makefile b/lang/clang34/Makefile
index 0ca410af3249..14f0fb084636 100644
--- a/lang/clang34/Makefile
+++ b/lang/clang34/Makefile
@@ -123,11 +123,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