catch2_3: fix build on i686
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user