Ignore:
Timestamp:
Feb 21, 2006, 12:18:15 AM (19 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
5baad6a
Parents:
f5aa871
Message:

r583@server (orig r581): ryan | 2005-08-05 21:44:17 -0700
Always use -fPIC when building perl



File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/native-scripts/native-perl.sh

    rf5aa871 r8080e7a  
    6565cd ${SRC}/${PKGDIR}
    6666
     67# if not creating a shared libperl (ie useshrplib not true), still use pic
     68sed -i -e "s@pldlflags=''@pldlflags=\"\$cccdlflags\"@g" \
     69       -e "s@static_target='static'@static_target='static_pic'@g" \
     70   Makefile.SH
     71
    6772max_log_init Perl ${PERL_VER} "native (shared)" ${CONFLOGS} ${LOG}
    6873CC="${CC-gcc} ${ARCH_CFLAGS}" \
     
    7176   -Dman1dir='/usr/share/man/perl/man1' \
    7277   -Dman3dir='/usr/share/man/perl/man3' \
     78   -Dcccdlflags='-fPIC' \
    7379   >> ${LOGFILE} 2>&1 &&
    7480echo " o Configure OK" || barf
Note: See TracChangeset for help on using the changeset viewer.