aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2012-10-23 23:02:33 +0000
committerEric Botcazou <ebotcazou@libertysurf.fr>2012-10-23 23:02:33 +0000
commita882be685b00546c352592a4e7a17472fea8e7f8 (patch)
tree067f411d26aa064926b1085876e92d4697149c64 /configure
parent3258d498f4aed24fbbfe21d53c0b5358e74395b7 (diff)
downloadgdb-a882be685b00546c352592a4e7a17472fea8e7f8.zip
gdb-a882be685b00546c352592a4e7a17472fea8e7f8.tar.gz
gdb-a882be685b00546c352592a4e7a17472fea8e7f8.tar.bz2
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 b2d28d5..4d9fc2a 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 :