diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-02-15 13:08:05 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-19 19:59:04 +0200 |
commit | 2d6e48f6ce272c1052ef2713063965b757a95196 (patch) | |
tree | 44f9d7ff5ac47297065d54663077bfdab8bd9188 /gnu | |
parent | b1ec85533a63c10616d9260f90411ca6f362de00 (diff) | |
download | guix-2d6e48f6ce272c1052ef2713063965b757a95196.tar.gz guix-2d6e48f6ce272c1052ef2713063965b757a95196.zip |
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
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/perl.scm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 5b32d6ecec..eb2089790d 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -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 |