mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
mosml: pass -fpermissive to C compiler
The MosML build system relies on some terrible C that GCC 14 now refuses to compile. This has supposedly been fixed in MosML upstream, but the fix is not yet in any released version. It is not so easy to simply cherry-pick the changes necessary to make GCC 14 work, since they seem spread over various different commits. This change serves to make this rather obscure derivation work for a little while longer.
This commit is contained in:
parent
c5aaf462f0
commit
27a515f9dd
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
|
|||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = "-fpermissive";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kfl";
|
||||
repo = "mosml";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue