perlPackages.MathPari: fix build on GCC 14 (#389076)

This commit is contained in:
Arne Keller
2025-03-15 23:14:28 +01:00
committed by GitHub
+1 -1
View File
@@ -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 {