~ruther/guix-local

2d6e48f6ce272c1052ef2713063965b757a95196 — Efraim Flashner 2 years ago b1ec855
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
1 files changed, 2 insertions(+), 3 deletions(-)

M gnu/packages/perl.scm
M gnu/packages/perl.scm => gnu/packages/perl.scm +2 -3
@@ 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