mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
haskellPackages.HsSyck: implicit function decl may not fail build
This is another gcc 14 workaround.
haskellPackages.HsOpenSSL: don't silence incompatible-pointer-types
Disabling the error is a better option than silencing the warning which
still applies…
(cherry picked from commit 9c577069d9
)
This commit is contained in:
parent
b3ce3aface
commit
3cf4ebd8c2
1 changed files with 5 additions and 1 deletions
|
@ -245,8 +245,12 @@ self: super: {
|
|||
# https://github.com/haskell-cryptography/HsOpenSSL/issues/93
|
||||
# https://github.com/haskell-cryptography/HsOpenSSL/issues/95
|
||||
HsOpenSSL = appendConfigureFlags [
|
||||
"--ghc-option=-optc=-Wno-incompatible-pointer-types"
|
||||
"--ghc-option=-optc=-Wno-error=incompatible-pointer-types"
|
||||
] super.HsOpenSSL;
|
||||
# Work around compilation failure with gcc >= 14
|
||||
HsSyck = appendConfigureFlags [
|
||||
"--ghc-option=-optc=-Wno-error=implicit-function-declaration"
|
||||
] super.HsSyck;
|
||||
|
||||
# There are numerical tests on random data, that may fail occasionally
|
||||
lapack = dontCheck super.lapack;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue