mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 12:04:40 +00:00
catch2_3: fix build on i686
This commit is contained in:
parent
0c10ec9d2c
commit
3f258b8e44
@ -29,6 +29,11 @@ stdenv.mkDerivation rec {
|
||||
"-DCMAKE_CTEST_ARGUMENTS=-E;ApprovalTests"
|
||||
];
|
||||
|
||||
# Tests fail on x86_32 if compiled with x87 floats: https://github.com/catchorg/Catch2/issues/2796
|
||||
env = lib.optionalAttrs stdenv.isx86_32 {
|
||||
NIX_CFLAGS_COMPILE = "-msse2 -mfpmath=sse";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user