mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 22:20:30 +03:00
llvm 14 compiler-rt: enable libclang_rt.profile-....a build
This commit is contained in:
parent
9a3b4264c2
commit
94cad6ec1a
1 changed files with 2 additions and 1 deletions
|
@ -41,9 +41,10 @@ stdenv.mkDerivation {
|
||||||
"-DCOMPILER_RT_BUILD_SANITIZERS=OFF"
|
"-DCOMPILER_RT_BUILD_SANITIZERS=OFF"
|
||||||
"-DCOMPILER_RT_BUILD_XRAY=OFF"
|
"-DCOMPILER_RT_BUILD_XRAY=OFF"
|
||||||
"-DCOMPILER_RT_BUILD_LIBFUZZER=OFF"
|
"-DCOMPILER_RT_BUILD_LIBFUZZER=OFF"
|
||||||
"-DCOMPILER_RT_BUILD_PROFILE=OFF"
|
|
||||||
"-DCOMPILER_RT_BUILD_MEMPROF=OFF"
|
"-DCOMPILER_RT_BUILD_MEMPROF=OFF"
|
||||||
"-DCOMPILER_RT_BUILD_ORC=OFF" # may be possible to build with musl if necessary
|
"-DCOMPILER_RT_BUILD_ORC=OFF" # may be possible to build with musl if necessary
|
||||||
|
] ++ lib.optionals (useLLVM || bareMetal) [
|
||||||
|
"-DCOMPILER_RT_BUILD_PROFILE=OFF"
|
||||||
] ++ lib.optionals ((useLLVM && !haveLibc) || bareMetal) [
|
] ++ lib.optionals ((useLLVM && !haveLibc) || bareMetal) [
|
||||||
"-DCMAKE_C_COMPILER_WORKS=ON"
|
"-DCMAKE_C_COMPILER_WORKS=ON"
|
||||||
"-DCMAKE_CXX_COMPILER_WORKS=ON"
|
"-DCMAKE_CXX_COMPILER_WORKS=ON"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue