Adding BUILD_CC to the STAGE1 bootstrap recipes

This commit is contained in:
Jaromir Capik 2015-12-03 15:24:06 +01:00
parent 8fdf674ae9
commit 933c6091f3
2 changed files with 8 additions and 8 deletions

View File

@ -37,8 +37,8 @@ echo libc_cv_gcc_builtin_expect=yes >> config.cache
$SRC/$GV/configure $GLIBCARGS $SRC/$GV/configure $GLIBCARGS
notparallel notparallel
make $J ARCH=${KARCH} cross-compiling=yes make $J ARCH=${KARCH} BUILD_CC=gcc cross-compiling=yes
make DESTDIR=$ROOTFS $J ARCH=${KARCH} cross-compiling=yes install make DESTDIR=$ROOTFS $J ARCH=${KARCH} BUILD_CC=gcc cross-compiling=yes install
( cd $ROOTFS/usr/include/bits ( cd $ROOTFS/usr/include/bits
sed '/ifndef.*NO_LONG_DOUBLE/,/#endif/d' < mathdef.h > mathdef.h.new sed '/ifndef.*NO_LONG_DOUBLE/,/#endif/d' < mathdef.h > mathdef.h.new
@ -81,8 +81,8 @@ if [ ! "$TARGET32" = "" ]; then
$SRC/$GV/configure $GLIBCARGS $SRC/$GV/configure $GLIBCARGS
notparallel notparallel
make $J ARCH=${KARCH} cross-compiling=yes make $J ARCH=${KARCH} BUILD_CC=gcc cross-compiling=yes
make DESTDIR=$ROOTFS $J ARCH=${KARCH} cross-compiling=yes install make DESTDIR=$ROOTFS $J ARCH=${KARCH} BUILD_CC=gcc cross-compiling=yes install
( cd $ROOTFS/usr/include/bits ( cd $ROOTFS/usr/include/bits
sed '/ifndef.*NO_LONG_DOUBLE/,/#endif/d' < mathdef.h > mathdef.h.new sed '/ifndef.*NO_LONG_DOUBLE/,/#endif/d' < mathdef.h > mathdef.h.new

View File

@ -32,7 +32,7 @@ echo libc_cv_gcc_builtin_expect=yes >> config.cache
$SRC/$GV/configure $GLIBCARGS $SRC/$GV/configure $GLIBCARGS
notparallel notparallel
make DESTDIR=$ROOTFS $J ARCH=${KARCH} cross-compiling=yes install-headers make DESTDIR=$ROOTFS $J ARCH=${KARCH} BUILD_CC=gcc cross-compiling=yes install-headers
touch $ROOTFS/usr/include/gnu/stubs.h touch $ROOTFS/usr/include/gnu/stubs.h
touch $ROOTFS/usr/include/bits/stdio_lim.h touch $ROOTFS/usr/include/bits/stdio_lim.h
@ -43,7 +43,7 @@ touch $ROOTFS/usr/include/bits/stdio_lim.h
# We also build just enough files to link libgcc.so. The fake # We also build just enough files to link libgcc.so. The fake
# libc.so will never actually get used, but simplifies the boostrap. # libc.so will never actually get used, but simplifies the boostrap.
make $J ARCH=${KARCH} cross-compiling=yes csu/subdir_lib make $J ARCH=${KARCH} BUILD_CC=gcc cross-compiling=yes csu/subdir_lib
mkdirp $ROOTFS/usr/lib${SUFFIX} mkdirp $ROOTFS/usr/lib${SUFFIX}
for file in `cd csu; echo crt*.o`; do for file in `cd csu; echo crt*.o`; do
@ -90,7 +90,7 @@ if [ ! "$TARGET32" = "" ]; then
$SRC/$GV/configure $GLIBCARGS $SRC/$GV/configure $GLIBCARGS
notparallel notparallel
make DESTDIR=$ROOTFS $J ARCH=${KARCH} cross-compiling=yes install-headers make DESTDIR=$ROOTFS $J ARCH=${KARCH} BUILD_CC=gcc cross-compiling=yes install-headers
touch $ROOTFS/usr/include/gnu/stubs.h touch $ROOTFS/usr/include/gnu/stubs.h
touch $ROOTFS/usr/include/bits/stdio_lim.h touch $ROOTFS/usr/include/bits/stdio_lim.h
@ -101,7 +101,7 @@ if [ ! "$TARGET32" = "" ]; then
# We also build just enough files to link libgcc.so. The fake # We also build just enough files to link libgcc.so. The fake
# libc.so will never actually get used, but simplifies the boostrap. # libc.so will never actually get used, but simplifies the boostrap.
make $J ARCH=${KARCH} cross-compiling=yes csu/subdir_lib make $J ARCH=${KARCH} BUILD_CC=gcc cross-compiling=yes csu/subdir_lib
mkdirp $ROOTFS/usr/lib mkdirp $ROOTFS/usr/lib
for file in `cd csu; echo crt*.o`; do for file in `cd csu; echo crt*.o`; do