Merge pull request #275084 from patryk4815/fix-riscv64-unicorn
unicorn: fix build on riscv
This commit is contained in:
commit
b3ecefc2ad
1 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,9 @@ stdenv.mkDerivation rec {
|
|||
IOKit
|
||||
];
|
||||
|
||||
# Ensure the linker is using atomic when compiling for RISC-V, otherwise fails
|
||||
NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isRiscV "-latomic";
|
||||
|
||||
cmakeFlags = lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
|
||||
# Some x86 tests are interrupted by signal 10
|
||||
"-DCMAKE_CTEST_ARGUMENTS=--exclude-regex;test_x86"
|
||||
|
|
Loading…
Reference in a new issue