mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #125034 from zhaofengli/libjpeg-riscv
libjpeg-turbo: Fix tests on RISC-V
This commit is contained in:
commit
79f9745487
1 changed files with 4 additions and 0 deletions
|
@ -40,6 +40,10 @@ stdenv.mkDerivation rec {
|
|||
"-DENABLE_SHARED=${if enableShared then "1" else "0"}"
|
||||
] ++ lib.optionals enableJava [
|
||||
"-DWITH_JAVA=1"
|
||||
] ++ lib.optionals stdenv.hostPlatform.isRiscV [
|
||||
# https://github.com/libjpeg-turbo/libjpeg-turbo/issues/428
|
||||
# https://github.com/libjpeg-turbo/libjpeg-turbo/commit/88bf1d16786c74f76f2e4f6ec2873d092f577c75
|
||||
"-DFLOATTEST=fp-contract"
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
|
|
Loading…
Reference in a new issue