summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-23 22:57:43 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-23 22:57:43 +0000
commit74f1ea54299c1d2fc2e38e05bf6073255686db36 (patch)
tree36ccc334c30fd823107a6719f4510385a9b3ca6e /configure
parentfe1e80625255d68189679c266b4728ab45130de0 (diff)
downloadgcc-74f1ea54299c1d2fc2e38e05bf6073255686db36.tar.gz
PR bootstrap/54820
* configure.ac (have_static_libs): Force 'no' for GCC version < 4.5. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192748 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index b2d28d52154..4d9fc2a4e0e 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 :