diff options
author | Rob Savoye <rob@welcomehome.org> | 2001-05-13 16:17:36 +0000 |
---|---|---|
committer | Rob Savoye <rob@welcomehome.org> | 2001-05-13 16:17:36 +0000 |
commit | d196b24e2c3c560275a034de32db8c212ed29d6e (patch) | |
tree | 1808143b67558116f1e4d82642add2f17e6ce3b2 /lib/target.exp | |
parent | 63f46a0d3ea48d88ecca1be0102043df7a2403cb (diff) | |
download | dejagnu-d196b24e2c3c560275a034de32db8c212ed29d6e.zip dejagnu-d196b24e2c3c560275a034de32db8c212ed29d6e.tar.gz dejagnu-d196b24e2c3c560275a034de32db8c212ed29d6e.tar.bz2 |
* lib/target.exp: Fix the regsub line where it prunes -fPIC
warnings so the text variable is on the same line.
Diffstat (limited to 'lib/target.exp')
-rw-r--r-- | lib/target.exp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/target.exp b/lib/target.exp index c82962f..3eaf3b8 100644 --- a/lib/target.exp +++ b/lib/target.exp @@ -272,8 +272,7 @@ proc prune_warnings { text } { regsub -all "(^|\n)\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*is not implemented and will always fail\[^\n\]*" $text "" text # Cygwin cc1 warns about -fpic and -fPIC - regsub -all ".*: warning: -f(pic|PIC) ignored for target .*" $text "" -text + regsub -all ".*: warning: -f(pic|PIC) ignored for target .*" $text "" text # It might be tempting to get carried away and delete blank lines, etc. # Just delete *exactly* what we're ask to, and that's it. |