mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #174036 from trofi/workaround-fno-common-for-paml
paml: add -fcommon workaround
This commit is contained in:
commit
3b9985498d
@ -8,6 +8,12 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0qflf3i27x6jwks3c6q560m1q8r043ja96syah145113iz5wdalp";
|
||||
};
|
||||
|
||||
# Workaround build failure on -fno-common toolchains like upstream
|
||||
# gcc-10. Otherwise build fails as:
|
||||
# ld: /build/ccKomtcd.o:(.bss+0x4544): multiple definition of `SeqTypes';
|
||||
# /build/ccx7EsgU.o:(.bss+0x2a0dfdc): first defined here
|
||||
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
preBuild = ''
|
||||
cd ./src/
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user