mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Merge pull request #176086 from trofi/workaround-fno-common-for-perlPackages.MathPari
perlPackages.MathPari: add -fcommon workaround
This commit is contained in:
commit
5bb2597429
1 changed files with 4 additions and 0 deletions
|
@ -13436,6 +13436,10 @@ let
|
|||
url = "https://pari.math.u-bordeaux.fr/pub/pari/OLD/2.1/pari-${pariversion}.tgz";
|
||||
sha256 = "1yjml5z1qdn258qh6329v7vib2gyx6q2np0s5ybci0rhmz6z4hli";
|
||||
};
|
||||
# Workaround build failure on -fno-common toolchains:
|
||||
# ld: libPARI/libPARI.a(compat.o):(.bss+0x8): multiple definition of
|
||||
# `overflow'; Pari.o:(.bss+0x80): first defined here
|
||||
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
preConfigure = "cp ${pari_tgz} pari-${pariversion}.tgz";
|
||||
makeMakerFlags = "pari_tgz=pari-${pariversion}.tgz";
|
||||
src = fetchurl {
|
||||
|
|
Loading…
Reference in a new issue