From: Jan Kratochvil Date: Fri, 2 Mar 2012 19:39:50 +0000 (+0100) Subject: Remove workaround for GCC PR 49829. X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=4e621b85cdc130479357d4920e4c088407fa3248 Remove workaround for GCC PR 49829. Do not use ~/.bashrc for ctags - it would override $PATH: --- diff --git a/bin/errs12 b/bin/errs12 index 164309f..a679861 100755 --- a/bin/errs12 +++ b/bin/errs12 @@ -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