From 2d6e48f6ce272c1052ef2713063965b757a95196 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 15 Feb 2024 13:08:05 +0200 Subject: [PATCH] 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 --- gnu/packages/perl.scm | 5 ++--- 1 file 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