source:
patches/perl-5.8.8-fPIC-1.patch@
095ad7c
Last change on this file since 095ad7c was 5dc155c, checked in by , 18 years ago | |
---|---|
|
|
File size: 1.5 KB |
-
Configure
Submitted By: Joe Ciccone <jciccone@linuxfromscratch.org> Date: 2006-08-20 Initial Package Version: 5.8.8 Upstream Status: Unknown Origin: http://cvs.fedora.redhat.com/viewcvs/*checkout*/devel/perl/perl-5.8.1-fpic.patch Description: Fixes a test that checks to see which paramater needs to be used for -fPIC and forces the objects in DynaLoader to be built with -fPIC. diff -Naur perl-5.8.8.orig/Configure perl-5.8.8/Configure
old new 7586 7586 ;; 7587 7587 *) case "$osname" in 7588 7588 darwin) dflt='none' ;; 7589 svr4*|esix*|solaris|nonstopux) dflt='-fPIC' ;;7589 linux*|svr4*|esix*|solaris|nonstopux) dflt='-fPIC' ;; 7590 7590 *) dflt='-fpic' ;; 7591 7591 esac ;; 7592 7592 esac ;; -
ext/DynaLoader/hints/linux.pl
diff -Naur perl-5.8.8.orig/ext/DynaLoader/hints/linux.pl perl-5.8.8/ext/DynaLoader/hints/linux.pl
old new 2 2 # Some Linux releases like to hide their <nlist.h> 3 3 $self->{CCFLAGS} = $Config{ccflags} . ' -I/usr/include/libelf' 4 4 if -f "/usr/include/libelf/nlist.h"; 5 # Some silly modules like mod_perl use DynaLoader.a in a shared 6 # moduke, so add cccdlflags if we're going for a shared libperl 7 $self->{CCFLAGS} = ($self->{CCFLAGS} || $Config{ccflags}) . " $Config{cccdlflags}"; 5 8 1;
Note:
See TracBrowser
for help on using the repository browser.