mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
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}"
|
"-DCLANG_PATH_TO_LLVM_BUILD=${llvm}"
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
"-DCMAKE_BUILD_TYPE=Release"
|
||||||
"-DLLVM_TARGETS_TO_BUILD=all"
|
"-DLLVM_TARGETS_TO_BUILD=all"
|
||||||
|
"-DGCC_INSTALL_PREFIX=${stdenv.gcc.gcc}"
|
||||||
] ++ stdenv.lib.optionals (stdenv.gcc.libc != null) [
|
] ++ stdenv.lib.optionals (stdenv.gcc.libc != null) [
|
||||||
"-DC_INCLUDE_DIRS=${stdenv.gcc.libc}/include/"
|
"-DC_INCLUDE_DIRS=${stdenv.gcc.libc}/include/"
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user