perlPackages.MathPari: fix build on GCC 14 (#389076)
This commit is contained in:
@@ -15440,7 +15440,7 @@ with self; {
|
||||
# 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
|
||||
env.NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
env.NIX_CFLAGS_COMPILE = "-fcommon -Wno-error=implicit-int -Wno-error=implicit-function-declaration";
|
||||
preConfigure = "cp ${pari_tgz} pari-${pariversion}.tgz";
|
||||
makeMakerFlags = [ "pari_tgz=pari-${pariversion}.tgz" ];
|
||||
src = fetchurl {
|
||||
|
||||
Reference in New Issue
Block a user