summaryrefslogtreecommitdiff
path: root/libstdc++-v3/scripts
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-23 07:38:33 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-23 07:38:33 +0000
commitaf9a450cf9a80e94bdd652822440ad68dd01d5b2 (patch)
tree27ddc4d47c3d0ce163327ff54dcc456163601759 /libstdc++-v3/scripts
parent39387fec3833f0da147ed22161c1c9d336d2f553 (diff)
downloadgcc-af9a450cf9a80e94bdd652822440ad68dd01d5b2.tar.gz
* scripts/testsuite_flags.in: Add --build-cc option.
* testsuite/lib/libstdc++.exp (libstdc++_init): Set cc. Fix typo in previous change. (v3_target_compile_as_c): Use cc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124058 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/scripts')
-rwxr-xr-xlibstdc++-v3/scripts/testsuite_flags.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/libstdc++-v3/scripts/testsuite_flags.in b/libstdc++-v3/scripts/testsuite_flags.in
index 13984fa4f3b..13bd68b699c 100755
--- a/libstdc++-v3/scripts/testsuite_flags.in
+++ b/libstdc++-v3/scripts/testsuite_flags.in
@@ -15,6 +15,7 @@ Usage:
testsuite_flags --install-includes
--build-includes
--build-cxx
+ --build-cc
--install-cxx
--cxxflags
--cxxpchflags
@@ -47,6 +48,11 @@ case ${query} in
CXX=`echo "$CXX_build" | sed 's,gcc/xgcc ,gcc/g++ ,'`
echo ${CXX}
;;
+ --build-cc)
+ CC_build="@CC@"
+ CC="$CC_build"
+ echo ${CC}
+ ;;
--cxxflags)
CXXFLAGS_save="-g -O2 -D_GLIBCXX_ASSERT"
CXXFLAGS_config='@SECTION_FLAGS@ -fmessage-length=0