clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since c30178f was 5dc155c, checked in by Joe Ciccone <jciccone@…>, 18 years ago |
Added perl-5.8.8-fPIC-1.patch.
|
-
Property mode
set to
100644
|
File size:
1.5 KB
|
Rev | Line | |
---|
[5dc155c] | 1 | Submitted By: Joe Ciccone <jciccone@linuxfromscratch.org>
|
---|
| 2 | Date: 2006-08-20
|
---|
| 3 | Initial Package Version: 5.8.8
|
---|
| 4 | Upstream Status: Unknown
|
---|
| 5 | Origin: http://cvs.fedora.redhat.com/viewcvs/*checkout*/devel/perl/perl-5.8.1-fpic.patch
|
---|
| 6 | Description: Fixes a test that checks to see which paramater needs to be used
|
---|
| 7 | for -fPIC and forces the objects in DynaLoader to be built
|
---|
| 8 | with -fPIC.
|
---|
| 9 |
|
---|
| 10 | diff -Naur perl-5.8.8.orig/Configure perl-5.8.8/Configure
|
---|
| 11 | --- perl-5.8.8.orig/Configure 2006-08-20 15:18:40.000000000 -0400
|
---|
| 12 | +++ perl-5.8.8/Configure 2006-08-20 15:21:39.000000000 -0400
|
---|
| 13 | @@ -7586,7 +7586,7 @@
|
---|
| 14 | ;;
|
---|
| 15 | *) case "$osname" in
|
---|
| 16 | darwin) dflt='none' ;;
|
---|
| 17 | - svr4*|esix*|solaris|nonstopux) dflt='-fPIC' ;;
|
---|
| 18 | + linux*|svr4*|esix*|solaris|nonstopux) dflt='-fPIC' ;;
|
---|
| 19 | *) dflt='-fpic' ;;
|
---|
| 20 | esac ;;
|
---|
| 21 | esac ;;
|
---|
| 22 | diff -Naur perl-5.8.8.orig/ext/DynaLoader/hints/linux.pl perl-5.8.8/ext/DynaLoader/hints/linux.pl
|
---|
| 23 | --- perl-5.8.8.orig/ext/DynaLoader/hints/linux.pl 2006-08-20 15:18:41.000000000 -0400
|
---|
| 24 | +++ perl-5.8.8/ext/DynaLoader/hints/linux.pl 2006-08-20 15:35:29.000000000 -0400
|
---|
| 25 | @@ -2,4 +2,7 @@
|
---|
| 26 | # Some Linux releases like to hide their <nlist.h>
|
---|
| 27 | $self->{CCFLAGS} = $Config{ccflags} . ' -I/usr/include/libelf'
|
---|
| 28 | if -f "/usr/include/libelf/nlist.h";
|
---|
| 29 | +# Some silly modules like mod_perl use DynaLoader.a in a shared
|
---|
| 30 | +# moduke, so add cccdlflags if we're going for a shared libperl
|
---|
| 31 | +$self->{CCFLAGS} = ($self->{CCFLAGS} || $Config{ccflags}) . " $Config{cccdlflags}";
|
---|
| 32 | 1;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.