[PATCH] D55391: Don't add unnecessary compiler flags to llvm-config output
Michał Górny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 7 07:50:18 PST 2018
mgorny added a comment.
Thanks, this is something we've been hacking out in Gentoo for a long time. One nit though.
================
Comment at: tools/llvm-config/CMakeLists.txt:37
+set(LLVM_CFLAGS "${LLVM_DEFINITIONS}")
+set(LLVM_CXXFLAGS "${COMPILE_FLAGS} ${LLVM_DEFINITIONS}")
set(LLVM_BUILD_SYSTEM cmake)
----------------
Shouldn't cxxflags also include `-std`?
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55391/new/
https://reviews.llvm.org/D55391
More information about the llvm-commits
mailing list