Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178083925
D6209.1795912506.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
843 B
Referenced Files
None
Subscribers
None
D6209.1795912506.diff
View Options
Index: lib/clang/clang.build.mk
===================================================================
--- lib/clang/clang.build.mk
+++ lib/clang/clang.build.mk
@@ -221,13 +221,14 @@
.endfor
# XXX: Atrocious hack, need to clean this up later
-.if defined(LIB) && ${LIB} == "llvmlibdriver"
+.if ${LIB:U} == llvmlibdriver
Options.inc.h: ${LLVM_SRCS}/lib/LibDriver/Options.td
${LLVM_TBLGEN} -gen-opt-parser-defs \
-I ${LLVM_SRCS}/include \
-d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
${LLVM_SRCS}/lib/LibDriver/Options.td
-.else
+.elif ${LIB:U} == clangdriver || ${LIB:U} == clangfrontend || \
+ ${LIB:U} == clangfrontendtool || ${PROG_CXX:U} == clang
Options.inc.h: ${CLANG_SRCS}/include/clang/Driver/Options.td
${LLVM_TBLGEN} -gen-opt-parser-defs \
-I ${LLVM_SRCS}/include -I ${CLANG_SRCS}/include/clang/Driver \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 29, 12:35 AM (20 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42081120
Default Alt Text
D6209.1795912506.diff (843 B)
Attached To
Mode
D6209: Limit Options.inc generation to desired targets
Attached
Detach File
Event Timeline