Remove workaround for GCC PR 49829.
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 2 Mar 2012 19:39:50 +0000 (20:39 +0100)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 2 Mar 2012 19:39:50 +0000 (20:39 +0100)
Do not use ~/.bashrc for ctags - it would override $PATH:

bin/errs12

index 164309f..a679861 100755 (executable)
@@ -3,9 +3,9 @@
 
 renice +19 -p $$; ionice -c3 -p $$
 
-# For ctags
-PS1=x
-. ~/.bashrc
+# Do not use for ctags - it would override $PATH:
+# PS1=x; . ~/.bashrc
+function ctags {(unset ctags; PS1=x; . ~/.bashrc; ctags; );}
 
 customss="--enable-static --disable-shared"
 customm="-m64"
@@ -95,7 +95,9 @@ rm -f errs1.ok
                werror="--disable-werror"
                customm=""
                # --disable-static would fail on finding built libstdc++ due to -static-libstdc++.
-               customss=""
+               # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49829
+               #customss=""
+               customss="--disable-static --enable-shared"
        else
                werror=""
        fi