From 599fdeeed407ac763c6b3be5f5b236e911ce30da Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Wed, 27 Jul 2005 10:36:18 +0000 Subject: [PATCH] Stefan Fiedler: gcc: build non-default C/C++ compilers (in stage 5) Index: package/base/gcc/config-300.in =================================================================== [2005052023384831433] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@6244 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/gcc/config-300.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/base/gcc/config-300.in b/package/base/gcc/config-300.in index fb1286ad0..ceb91fa37 100644 --- a/package/base/gcc/config-300.in +++ b/package/base/gcc/config-300.in @@ -68,10 +68,11 @@ then done choice ROCKCFG_DEFAULT_F77 $d $k + # build non-default CCs in stage 5 k=""; for x in gcc2 gcc32 gcc33 gcc34 gcc40 gcc41; do if [ "$ROCKCFG_DEFAULT_CC" != "$x" ]; then if [ "$ROCKCFG_DEFAULT_CXX" != "$x" ]; then - k="$k / gcc=$x / s/^\(..\).../\1---/;" + k="$k / gcc=$x / s/^\(..\)...\(..\)./\1---\25/;" else k="$k / gcc=$x / s/^\(..\)../\1--/;" fi