From a77f784f782141405e7874d12f05bb9ed17430bf Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Wed, 31 Oct 2012 22:34:45 +1100 Subject: Fix the TB_ environment variables. --- config/gcc-4.6-1.cfg | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'config/gcc-4.6-1.cfg') diff --git a/config/gcc-4.6-1.cfg b/config/gcc-4.6-1.cfg index a25c0f9..4f4f96c 100644 --- a/config/gcc-4.6-1.cfg +++ b/config/gcc-4.6-1.cfg @@ -112,10 +112,10 @@ Source22: ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.bz2 %endif %if "%{_build}" != "%{_host}" CFLAGS_FOR_BUILD="-g -O2 -Wall" \ - CC="%{_host}-gcc ${TB_OPT_FLAGS}" \ + CC="%{_host}-gcc ${SB_OPT_FLAGS}" \ %else # gcc is not ready to be compiled with -std=gnu99 - CC=$(echo "%{__cc} ${TB_OPT_FLAGS}" | sed -e 's,-std=gnu99 ,,') \ + CC=$(echo "%{__cc} ${SB_OPT_FLAGS}" | sed -e 's,-std=gnu99 ,,') \ %endif ../gcc-%{gcc_version}/configure \ --prefix=%{_prefix} \ @@ -155,21 +155,21 @@ Source22: ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.bz2 %install export PATH="%{_bindir}:${PATH}" - rm -rf $TB_BUILD_ROOT + rm -rf $SB_BUILD_ROOT cd build - %{__make} DESTDIR=$TB_BUILD_ROOT install + %{__make} DESTDIR=$SB_BUILD_ROOT install cd .. # libiberty doesn't honor --libdir, but always installs to a # magically guessed _libdir - rm -f ${TB_BUILD_ROOT}%{_libdir}/libiberty.a + rm -f ${SB_BUILD_ROOT}%{_libdir}/libiberty.a # We use the version from binutils - rm -f $TB_BUILD_ROOT%{_bindir}/%{_target}-c++filt%{_exeext} + rm -f $SB_BUILD_ROOT%{_bindir}/%{_target}-c++filt%{_exeext} # We don't ship info/dir - rm -f $TB_BUILD_ROOT%{_infodir}/dir + rm -f $SB_BUILD_ROOT%{_infodir}/dir # Don't want libffi's man-pages - rm -f $TB_BUILD_ROOT%{_mandir}/man3/*ffi* + rm -f $SB_BUILD_ROOT%{_mandir}/man3/*ffi* -- cgit v1.2.3