llvmPackages_8.compiler-rt: bare-metal support
Bare-metal targets require a few additional options to be set.
This commit is contained in:
parent
a5e2b76e51
commit
24070da9c4
1 changed files with 3 additions and 0 deletions
|
@ -27,6 +27,9 @@ stdenv.mkDerivation rec {
|
|||
"-DCOMPILER_RT_BUILD_XRAY=OFF"
|
||||
"-DCOMPILER_RT_BUILD_LIBFUZZER=OFF"
|
||||
"-DCOMPILER_RT_BUILD_PROFILE=OFF"
|
||||
] ++ stdenv.lib.optionals (stdenv.hostPlatform.parsed.kernel.name == "none") [
|
||||
"-DCOMPILER_RT_BAREMETAL_BUILD=ON"
|
||||
"-DCOMPILER_RT_OS_DIR=baremetal"
|
||||
];
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
|
Loading…
Reference in a new issue