zwischen configure und make braucht glib noch ein -march fuer CFLAGS im
options file... git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@4472 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
de9b93c6a8
commit
cd4c938b8a
@ -76,6 +76,7 @@ SRCPATH=Base/lib
|
|||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
ARCH=`echo $TARGET|cut -d"-" -f 1`
|
ARCH=`echo $TARGET|cut -d"-" -f 1`
|
||||||
|
ARCH32=`echo $TARGET32|cut -d"-" -f 1`
|
||||||
SrcPatch $MAKEDIR/glibc* $LFSSOURCE/$SRCPATH/glibc-*-libgcc_eh*
|
SrcPatch $MAKEDIR/glibc* $LFSSOURCE/$SRCPATH/glibc-*-libgcc_eh*
|
||||||
SrcPatch $MAKEDIR/glibc* $LFSSOURCE/$SRCPATH/glibc-*-localedef_segfault*
|
SrcPatch $MAKEDIR/glibc* $LFSSOURCE/$SRCPATH/glibc-*-localedef_segfault*
|
||||||
mkdir ../build-glibc
|
mkdir ../build-glibc
|
||||||
@ -100,6 +101,7 @@ mk32() {
|
|||||||
--with-binutils=/cross-tools/bin \
|
--with-binutils=/cross-tools/bin \
|
||||||
--with-headers=/tools/include \
|
--with-headers=/tools/include \
|
||||||
--cache-file=config.cache
|
--cache-file=config.cache
|
||||||
|
echo "CFLAGS += -march=$ARCH32" >configparms
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU install
|
make -j $NUMCPU install
|
||||||
cd ../glibc*
|
cd ../glibc*
|
||||||
@ -134,6 +136,7 @@ mk() {
|
|||||||
--with-binutils=/cross-tools/bin \
|
--with-binutils=/cross-tools/bin \
|
||||||
--with-headers=/tools/include \
|
--with-headers=/tools/include \
|
||||||
--cache-file=config.cache
|
--cache-file=config.cache
|
||||||
|
echo "CFLAGS += -march=$ARCH" >configparms
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU install
|
make -j $NUMCPU install
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user