Fix GCC -static-libstdc++.
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 24 Jul 2011 07:28:03 +0000 (09:28 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 24 Jul 2011 07:28:03 +0000 (09:28 +0200)
bin/errs12

index 3517e7b..1217a17 100755 (executable)
@@ -93,7 +93,8 @@ rm -f errs1.ok
        if test -f `dirname $configure`/gcc/reload.c;then
                werror="--disable-werror"
                customm=""
        if test -f `dirname $configure`/gcc/reload.c;then
                werror="--disable-werror"
                customm=""
-               customss="--disable-static --enable-shared"
+               # --disable-static would fail on finding built libstdc++ due to -static-libstdc++.
+               customss=""
        else
                werror=""
        fi
        else
                werror=""
        fi