[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: perl-5.6: Build with a newer gcc.
From: |
guix-commits |
Subject: |
01/02: gnu: perl-5.6: Build with a newer gcc. |
Date: |
Mon, 19 Feb 2024 13:06:20 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 2d6e48f6ce272c1052ef2713063965b757a95196
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 15 13:08:05 2024 +0200
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