summaryrefslogtreecommitdiff
path: root/libstdc++-v3/scripts/testsuite_flags.in
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-13 03:58:38 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-13 03:58:38 +0000
commitfd9a63cd5381ff28b17e2ddc90d9574a9fa4c58a (patch)
tree9933b7335088a4c0a164fd00452ac5dbec784963 /libstdc++-v3/scripts/testsuite_flags.in
parent3fd11504cc56578f6e453a5d811d4c6a8ce6051e (diff)
downloadgcc-fd9a63cd5381ff28b17e2ddc90d9574a9fa4c58a.tar.gz
2006-01-12 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4(GLIBCXX_CHECK_LINKER_FEATURES): Enable --gc-sections in more cases. * configure: Regenerate. * scripts/testsuite_flags.in: Remove SECTION_LDFLAGS. * scripts/testsuite_flags.in (cxxldflags): New. * testsuite/lib/libstdc++.exp (v3_target_compile): Add cxxldflags. (libstdc++_init ): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109662 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/scripts/testsuite_flags.in')
-rwxr-xr-xlibstdc++-v3/scripts/testsuite_flags.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/scripts/testsuite_flags.in b/libstdc++-v3/scripts/testsuite_flags.in
index 6f70002bcd4..86b02359f92 100755
--- a/libstdc++-v3/scripts/testsuite_flags.in
+++ b/libstdc++-v3/scripts/testsuite_flags.in
@@ -18,6 +18,7 @@ Usage:
--install-cxx
--cxxflags
--cxxpchflags
+ --cxxldflags
EOF
}
@@ -48,7 +49,7 @@ case ${query} in
;;
--cxxflags)
CXXFLAGS_save="-g -O2 -D_GLIBCXX_ASSERT"
- CXXFLAGS_config='@SECTION_FLAGS@ @SECTION_LDFLAGS@ -fmessage-length=0
+ CXXFLAGS_config='@SECTION_FLAGS@ -fmessage-length=0
@EXTRA_CXX_FLAGS@ -DLOCALEDIR="@glibcxx_localedir@" '
echo ${CXXFLAGS_save} ${CXXFLAGS_config}
;;
@@ -56,6 +57,10 @@ case ${query} in
PCHFLAGS="@glibcxx_PCHFLAGS@"
echo ${PCHFLAGS}
;;
+ --cxxldflags)
+ SECTIONLDFLAGS="@SECTION_LDFLAGS@"
+ echo ${SECTIONLDFLAGS}
+ ;;
*)
print_usage
;;