Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150461319
D6209.id15904.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1012 B
Referenced Files
None
Subscribers
None
D6209.id15904.diff
View Options
Index: lib/clang/clang.build.mk
===================================================================
--- lib/clang/clang.build.mk
+++ lib/clang/clang.build.mk
@@ -221,19 +221,21 @@
.endfor
# XXX: Atrocious hack, need to clean this up later
-.if defined(LIB) && ${LIB} == "llvmlibdriver"
+.if defined(LIB)
+.if ${LIB} == "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} == "clangdriver"
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 \
-d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
${CLANG_SRCS}/include/clang/Driver/Options.td
.endif
+.endif # defined(LIB)
Checkers.inc.h: ${CLANG_SRCS}/lib/StaticAnalyzer/Checkers/Checkers.td
${CLANG_TBLGEN} -gen-clang-sa-checkers \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 2, 10:12 AM (1 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30718277
Default Alt Text
D6209.id15904.diff (1012 B)
Attached To
Mode
D6209: Limit Options.inc generation to desired targets
Attached
Detach File
Event Timeline
Log In to Comment