Kleinere Fehler Korrekturen im Configure Aufruf.

Danach Probleme mit Compiler Optimierungen, die durch Fehlerkorrekturen
Aktiv geworden sind. Perl mag die Flags so nicht. Also alle Optimierungen
bis auf die -m Flags entfernt



git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@4674 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
kueller 2009-05-05 08:05:31 +00:00
parent d5c4ab8e7d
commit 96aa11fa4f

View File

@ -76,9 +76,9 @@ premk() {
echo "127.0.0.1 localhost $(hostname)" >/etc/hosts echo "127.0.0.1 localhost $(hostname)" >/etc/hosts
sed -i -e "s@pldlflags=''@pldlflags=\"\$cccdlflags\"@g" \ sed -i -e "s@pldlflags=''@pldlflags=\"\$cccdlflags\"@g" \
-e "s@static_target='static'@static_target='static_pic'@g" Makefile.SH -e "s@static_target='static'@static_target='static_pic'@g" Makefile.SH
#sed -i -e '/^BUILD_ZLIB/ s/True/False/' \ sed -i -e '/^BUILD_ZLIB/ s/True/False/' \
#-e '/^INCLUDE\|^LIB/ s|\./zlib-src|/usr/include|' \ -e '/^INCLUDE\|^LIB/ s|\./zlib-src|/usr/include|' \
#ext/Compress/Raw/Zlib/config.in ext/Compress/Raw/Zlib/config.in
if [ ! -f /etc/hosts ]; then if [ ! -f /etc/hosts ]; then
echo "127.0.0.1 localhost $(hostname)" >/etc/hosts echo "127.0.0.1 localhost $(hostname)" >/etc/hosts
fi fi
@ -90,9 +90,9 @@ mk32() {
-Dman1dir=/usr/share/man/man1 \ -Dman1dir=/usr/share/man/man1 \
-Dman3dir=/usr/share/man/man3 \ -Dman3dir=/usr/share/man/man3 \
-Dpager="/bin/less -isR" \ -Dpager="/bin/less -isR" \
-Dgcc="gcc ${BUILDOPTIONS32}" \ -Dcc="gcc -m32" \
-Dusethreads \ -Dusethreads \
-Duseshrplib \ -Duseshrplib
make -j $NUMCPU make -j $NUMCPU
make -j $NUMCPU DESTDIR=$TMPROOT install make -j $NUMCPU DESTDIR=$TMPROOT install
mv $TMPROOT/usr/bin/perl{,-32} mv $TMPROOT/usr/bin/perl{,-32}
@ -102,9 +102,9 @@ mk32() {
cd $MAKEDIR/perl* cd $MAKEDIR/perl*
sed -i -e "s@pldlflags=''@pldlflags=\"\$cccdlflags\"@g" \ sed -i -e "s@pldlflags=''@pldlflags=\"\$cccdlflags\"@g" \
-e "s@static_target='static'@static_target='static_pic'@g" Makefile.SH -e "s@static_target='static'@static_target='static_pic'@g" Makefile.SH
#sed -i -e '/^BUILD_ZLIB/ s/True/False/' \ sed -i -e '/^BUILD_ZLIB/ s/True/False/' \
#-e '/^INCLUDE\|^LIB/ s|\./zlib-src|/usr/include|' \ -e '/^INCLUDE\|^LIB/ s|\./zlib-src|/usr/include|' \
#ext/Compress/Raw/Zlib/config.in ext/Compress/Raw/Zlib/config.in
SrcPatch $MAKEDIR/perl* $LFSSOURCE/$SRCPATH/perl-*-Configure_multilib-?.patch.* SrcPatch $MAKEDIR/perl* $LFSSOURCE/$SRCPATH/perl-*-Configure_multilib-?.patch.*
SrcPatch $MAKEDIR/perl* $LFSSOURCE/$SRCPATH/perl-*-libc-*.patch* SrcPatch $MAKEDIR/perl* $LFSSOURCE/$SRCPATH/perl-*-libc-*.patch*
sed -i "/libc/s@/lib@/lib64@" hints/linux.sh sed -i "/libc/s@/lib@/lib64@" hints/linux.sh
@ -112,19 +112,13 @@ mk32() {
} }
mk() { mk() {
if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="-Dlibpth=\"/usr/local/lib64 /lib64 /usr/lib64\""
else
ADDOPTIONS="-Dlibpth=\"/usr/local/lib /lib /usr/lib\""
fi
sed -i -e "s/CLDFLAGS =/CLDFLAGS = -lm -lrt/" Makefile.SH
./configure.gnu --prefix=/usr \ ./configure.gnu --prefix=/usr \
-Dvendorprefix=/usr \ -Dvendorprefix=/usr \
-Dman1dir=/usr/share/man/man1 \ -Dman1dir=/usr/share/man/man1 \
-Dman3dir=/usr/share/man/man3 \ -Dman3dir=/usr/share/man/man3 \
-Dpager="/bin/less -isR" \ -Dpager="/bin/less -isR" \
$ADDOPTIONS \ -Dlibpath="/usr/local/$LIBDIR /$LIBDIR /usr/$LIBDIR" \
-Dcc="gcc ${BUILDOPTIONS}" \ -Dcc="gcc -m$UARCH" \
-Dusethreads \ -Dusethreads \
-Duseshrplib -Duseshrplib
make make