X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=configure.ac;h=fcf5ba2c7c8ccca40e0ea0da3c46ca3b6ecf1a10;hb=4f11b2237e37a2e99df3d2ea4b8099641913f339;hp=440f066acbe997f4a60b73b20d0a24858623bbf8;hpb=74dd2ca6a705dd8239f13b173b2f3ddd9f0b14af;p=deliverable%2Fbinutils-gdb.git diff --git a/configure.ac b/configure.ac index 440f066acb..fcf5ba2c7c 100644 --- a/configure.ac +++ b/configure.ac @@ -1561,10 +1561,10 @@ AC_ARG_WITH(boot-ldflags, poststage1_ldflags=$withval fi], [poststage1_ldflags= - # With --enable-build-with-cxx, default to linking libstdc++ and - # libgcc statically. But if the user explicitly specified the - # libraries to use, trust that they are doing what they want. - if test "$ENABLE_BUILD_WITH_CXX" = "yes" -a "$poststage1_libs" = ""; then + # In stages 2 and 3, default to linking libstdc++ and libgcc + # statically. But if the user explicitly specified the libraries to + # use, trust that they are doing what they want. + if test "$poststage1_libs" = ""; then poststage1_ldflags="-static-libstdc++ -static-libgcc" fi]) AC_SUBST(poststage1_ldflags)