Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2012-10-24 03:02:33 +0400
committerEric Botcazou <ebotcazou@adacore.com>2012-10-24 03:02:33 +0400
commitd25fac71144904255ef38a506a259a5de2b4c2ad (patch)
tree521f7c6ec20485774eade9302d9aa514666e2ada /configure
parentc81a67683f3c7f225fffcedc834271ea8755e935 (diff)
PR bootstrap/54820
* configure.ac (have_static_libs): Force 'no' for GCC version < 4.5. * configure: Regenerate.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index b2d28d521..4d9fc2a4e 100755
--- a/configure
+++ b/configure
@@ -4892,6 +4892,10 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
+
+#if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
+#error -static-libstdc++ not implemented
+#endif
int main() {}
_ACEOF
if ac_fn_cxx_try_link "$LINENO"; then :