diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-05-30 12:18:20 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-05-30 12:18:20 +0000 |
commit | 2834bd71cd7c1093bcae9a6fb922b3f81f45c5b3 (patch) | |
tree | 7e9ef5fd6090980df8bebdb7b68fb9c543db3f33 | |
parent | 04073e4ceb0fb04f5cbbda390bf49a087fb6969c (diff) | |
download | perl-2834bd71cd7c1093bcae9a6fb922b3f81f45c5b3.tar.gz |
Retract #10295 and #10296: a more generic solution
is needed (there's something funny with gcc on AIX).
p4raw-id: //depot/perl@10311
-rw-r--r-- | ext/POSIX/Makefile.PL | 4 | ||||
-rw-r--r-- | ext/Storable/Makefile.PL | 8 |
2 files changed, 3 insertions, 9 deletions
diff --git a/ext/POSIX/Makefile.PL b/ext/POSIX/Makefile.PL index 081f934833..73bb02dddb 100644 --- a/ext/POSIX/Makefile.PL +++ b/ext/POSIX/Makefile.PL @@ -2,9 +2,7 @@ use ExtUtils::MakeMaker; use Config; my @libs; if ($^O ne 'MSWin32') { - my $libs = "-lm -lposix -lcposix"; - $Config{gccversion} ne "" and $libs .= " -lgcc"; - @libs = ('LIBS' => [ $libs ]); + @libs = ('LIBS' => ["-lm -lposix -lcposix"]); } WriteMakefile( NAME => 'POSIX', diff --git a/ext/Storable/Makefile.PL b/ext/Storable/Makefile.PL index 49270b32f1..c8151f3083 100644 --- a/ext/Storable/Makefile.PL +++ b/ext/Storable/Makefile.PL @@ -16,14 +16,10 @@ use ExtUtils::MakeMaker; use Config; -my @libs = (); -$Config{gccversion} eq "" or @libs = ('LIBS' => ["-lgcc"]); - WriteMakefile( - 'NAME' => 'Storable', + 'NAME' => 'Storable', 'DISTNAME' => "Storable", - @libs, - 'MAN3PODS' => {}, + 'MAN3PODS' => {}, 'VERSION_FROM' => 'Storable.pm', 'dist' => { SUFFIX => 'gz', COMPRESS => 'gzip -f' }, ); |