diff options
Diffstat (limited to 'tools/llvm-config-2/llvm-config.cpp')
-rw-r--r-- | tools/llvm-config-2/llvm-config.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/tools/llvm-config-2/llvm-config.cpp b/tools/llvm-config-2/llvm-config.cpp index 0d726d258d..597b80fb4f 100644 --- a/tools/llvm-config-2/llvm-config.cpp +++ b/tools/llvm-config-2/llvm-config.cpp @@ -33,15 +33,9 @@ using namespace llvm; -// FIXME: Need to get various bits of build time information. -const char LLVM_SRC_ROOT[] = "FIXME"; -const char LLVM_OBJ_ROOT[] = "FIXME"; -const char LLVM_CPPFLAGS[] = "FIXME"; -const char LLVM_CFLAGS[] = "FIXME"; -const char LLVM_LDFLAGS[] = "FIXME"; -const char LLVM_CXXFLAGS[] = "FIXME"; -const char LLVM_BUILDMODE[] = "FIXME"; -const char LLVM_SYSTEM_LIBS[] = "FIXME"; +// Include the build time variables we can report to the user. This is generated +// at build time from the BuildVariables.inc.in file by the build system. +#include "BuildVariables.inc" // Include the component table. This creates an array of struct // AvailableComponent entries, which record the component name, library name, |