diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-12-26 19:44:08 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-12-26 19:44:08 -0500 |
| commit | 6fece14cfbb852c108c2094ae0879da76f2f445e (patch) | |
| tree | c2cde629583a94556d65dbc376e0809124550828 /src/config.h.in | |
| parent | 2a25398c869fcdefe8b6508974a5c463ca833520 (diff) | |
| download | zig-6fece14cfbb852c108c2094ae0879da76f2f445e.tar.gz zig-6fece14cfbb852c108c2094ae0879da76f2f445e.zip | |
self-hosted: build against zig_llvm and embedded LLD
Now the self-hosted compiler re-uses the same C++ code for interfacing
with LLVM as the C++ code.
It also links against the same LLD library files.
Diffstat (limited to 'src/config.h.in')
| -rw-r--r-- | src/config.h.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.h.in b/src/config.h.in index a596213a3d..73e1de27c1 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -24,4 +24,8 @@ // Only used for running tests before installing. #define ZIG_TEST_DIR "@CMAKE_SOURCE_DIR@/test" +// Used for communicating build information to self hosted build. +#define ZIG_CMAKE_BINARY_DIR "@CMAKE_BINARY_DIR@" +#define ZIG_CXX_COMPILER "@CMAKE_CXX_COMPILER@" + #endif |
