Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150473409
D6209.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
858 B
Referenced Files
None
Subscribers
None
D6209.id.diff
View Options
Index: head/lib/clang/clang.build.mk
===================================================================
--- head/lib/clang/clang.build.mk
+++ head/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
Thu, Apr 2, 12:49 PM (4 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30679361
Default Alt Text
D6209.id.diff (858 B)
Attached To
Mode
D6209: Limit Options.inc generation to desired targets
Attached
Detach File
Event Timeline
Log In to Comment