X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fcis-gcc;h=3b0299992d7a4f3f09f09ae7f559868c147b195e;hb=589342af5c6b0235fc6194ae39f76bbcd12d683e;hp=6812f7e6443e489b05430efb37d4d21985e62dd9;hpb=16cc35ba4890382ee9368a176e4f5a7fa773b7a6;p=hvlinux.git diff --git a/stage2/cis-gcc b/stage2/cis-gcc index 6812f7e..3b02999 100755 --- a/stage2/cis-gcc +++ b/stage2/cis-gcc @@ -6,9 +6,6 @@ source ../sysinfos source ../functions source ../packages-list -# Saves CFLAGS and CXXFLAGS, and clears them. -save_flags_no_optimizations - # Applying a sed substitution that will suppress the installation of # libiberty.a. We want to use the Binutils version of libiberty.a cd ${LFS_TMP}/${1} && @@ -48,10 +45,7 @@ ln -v -sf gcc /usr/bin/cc && echo 'main(){}' > dummy.c && cc dummy.c && readelf -l a.out | grep ': /lib' 1> /dev/null 2>&1 && -rm dummy.c a.out && - -# Restore original CFLAGS and CXXFLAGS values. -restore_flags +rm dummy.c a.out # Return last error exit $?