perlPackages.MathPari: fix build on GCC 14

This commit is contained in:
Thomas Gerbet
2025-03-11 21:31:44 +01:00
parent f819e95afc
commit 1326d89fe6
+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 {