diff options
author | David Billinghurst <David.Billinghurst@riotinto.com> | 2001-01-01 23:14:43 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2001-01-01 16:14:43 -0700 |
commit | fb34ebc50595037b349b190b08d632d820adca6b (patch) | |
tree | 8e10e72abc5cfa73e7ec32b4d9a5dc77bab36c72 | |
parent | 021d7b267e4ce91b56eb752ac0d0d3798d163f56 (diff) | |
download | gcc-fb34ebc50595037b349b190b08d632d820adca6b.zip gcc-fb34ebc50595037b349b190b08d632d820adca6b.tar.gz gcc-fb34ebc50595037b349b190b08d632d820adca6b.tar.bz2 |
tests_flags.in: Fix typo in usage.
* tests_flags.in: Fix typo in usage.
* tests_flags.in: Set target specific LIBS for cygwin.
From-SVN: r38599
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/tests_flags.in | 8 |
2 files changed, 12 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 6b657f9..7b7ec1e 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com> + + * tests_flags.in: Fix typo in usage. + + * tests_flags.in: Set target specific LIBS for cygwin. + 2000-12-31 Alexandre Oliva <aoliva@redhat.com> * include/c_std/bits/std_cstdlib.h (mblen): Protect against macro. diff --git a/libstdc++-v3/tests_flags.in b/libstdc++-v3/tests_flags.in index 2e2e59b..017c0d0 100644 --- a/libstdc++-v3/tests_flags.in +++ b/libstdc++-v3/tests_flags.in @@ -41,7 +41,7 @@ print_usage() { cat <<EOF Usage: - tests_fags --compiler <build-dir> <src-dir> + tests_flags --compiler <build-dir> <src-dir> --built-library <build-dir> <src-dir> --installed-library <build-dir> <src-dir> <install-dir> EOF @@ -154,7 +154,11 @@ case ${query} in ${LIB_PATH}/../libsupc++/libsupc++.la ${LIB_PATH}/libstdc++.la -no-install" LTEXE="${LIBTOOL} --mode=execute" - LIBS="-nodefaultlibs -lc -lgcc -lc" + case @target_os@ in + *cygwin*) LIBS="-nodefaultlibs -lgcc -lcygwin -luser32 + -lkernel32 -ladvapi32 -lshell32" ;; + *) LIBS="-nodefaultlibs -lc -lgcc -lc" ;; + esac ;; --installed-library) # For the installed version, we really only need to use libtool and |