summaryrefslogtreecommitdiffstats
path: root/config/gcc-4.6-1.cfg
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2012-10-31 22:34:45 +1100
committerChris Johns <chrisj@rtems.org>2012-10-31 22:34:45 +1100
commita77f784f782141405e7874d12f05bb9ed17430bf (patch)
tree37e7c5eb751fb13d862a29317f309786bae06d09 /config/gcc-4.6-1.cfg
parentAdd a local id for Windows. (diff)
downloadrtems-source-builder-a77f784f782141405e7874d12f05bb9ed17430bf.tar.bz2
Fix the TB_ environment variables.
Diffstat (limited to '')
-rw-r--r--config/gcc-4.6-1.cfg16
1 files changed, 8 insertions, 8 deletions
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*