core/glibc: drop makeflags stuff

This commit is contained in:
Kevin Mihelich 2012-11-05 16:58:15 +00:00
parent 0c05fa3374
commit bd7c44964c

View file

@ -9,7 +9,7 @@
# - Symlink glibc-ports source dir to ports dir in glibc directory
# - Patch glibc for ld-linux-armhf.so.3 and symlink ld-linux.so.3
# - Changed configure to enable ports add-on, specify our build host type
# - Disabled distcc, make -j1 for v5, -j2 for v7
# - Disabled distcc
noautobuild=1
@ -106,9 +106,9 @@ build() {
fi
# ALARM: Specify build host types
[[ $CARCH == "arm" ]] && CONFIGFLAG="--host=arm-unknown-linux-gnueabi --build=arm-unknown-linux-gnueabi" && MAKEFLAG="-j1"
[[ $CARCH == "armv6h" ]] && CONFIGFLAG="--host=armv6l-unknown-linux-gnueabihf --build=armv6l-unknown-linux-gnueabihf" && MAKEFLAG="-j2"
[[ $CARCH == "armv7h" ]] && CONFIGFLAG="--host=armv7l-unknown-linux-gnueabihf --build=armv7l-unknown-linux-gnueabihf" && MAKEFLAG="-j2"
[[ $CARCH == "arm" ]] && CONFIGFLAG="--host=arm-unknown-linux-gnueabi --build=arm-unknown-linux-gnueabi"
[[ $CARCH == "armv6h" ]] && CONFIGFLAG="--host=armv6l-unknown-linux-gnueabihf --build=armv6l-unknown-linux-gnueabihf"
[[ $CARCH == "armv7h" ]] && CONFIGFLAG="--host=armv7l-unknown-linux-gnueabihf --build=armv7l-unknown-linux-gnueabihf"
echo "slibdir=/usr/lib" >> configparms
@ -134,7 +134,7 @@ build() {
sed -i "/build-programs=/s#no#yes#" configparms
echo "CC += -fstack-protector -D_FORTIFY_SOURCE=2" >> configparms
echo "CXX += -fstack-protector -D_FORTIFY_SOURCE=2" >> configparms
make $MAKEFLAG
make
# remove harding in preparation to run test-suite
sed -i '2,4d' configparms