clang: Pass the real gcc install prefix
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
301d2e5431
commit
c4edee4d39
@ -13,6 +13,7 @@ stdenv.mkDerivation {
|
||||
"-DCLANG_PATH_TO_LLVM_BUILD=${llvm}"
|
||||
"-DCMAKE_BUILD_TYPE=Release"
|
||||
"-DLLVM_TARGETS_TO_BUILD=all"
|
||||
"-DGCC_INSTALL_PREFIX=${stdenv.gcc.gcc}"
|
||||
] ++ stdenv.lib.optionals (stdenv.gcc.libc != null) [
|
||||
"-DC_INCLUDE_DIRS=${stdenv.gcc.libc}/include/"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user