From 4e621b85cdc130479357d4920e4c088407fa3248 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Fri, 2 Mar 2012 20:39:50 +0100 Subject: [PATCH] Remove workaround for GCC PR 49829. Do not use ~/.bashrc for ctags - it would override $PATH: --- bin/errs12 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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 -- 1.8.3.1