gnu: perl-5.6: Build with a newer gcc.

* gnu/packages/perl.scm (perl-5.6)[arguments]: Adjust custom 'configure
script to force using the C90 standard when compiling C code.
[native-inputs]: Remove gcc-5.

Change-Id: Ica3f810c3a4ef662055294f61b6b5bd19fe84f20
This commit is contained in:
Efraim Flashner 2024-02-15 13:08:05 +02:00
parent b1ec85533a
commit 2d6e48f6ce
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -371,7 +371,7 @@ more.")
(string-append "-Dprefix=" out)
(string-append "-Dman1dir=" out "/share/man/man1")
(string-append "-Dman3dir=" out "/share/man/man3")
"-de" "-Dcc=gcc"
"-de" "-Dcc=gcc -std=c90"
"-Uinstallusrbinperl"
"-Dinstallstyle=lib/perl5"
"-Duseshrplib"
@ -404,8 +404,7 @@ more.")
(for-each (lambda (dso)
(chmod dso #o755))
(find-files lib "\\.so$"))))))))
(native-inputs
(list gcc-5))))
(native-inputs '())))
(define-public perl-algorithm-c3
(package