diff options
author | Rob Savoye <rob@welcomehome.org> | 2001-04-04 01:23:15 +0000 |
---|---|---|
committer | Rob Savoye <rob@welcomehome.org> | 2001-04-04 01:23:15 +0000 |
commit | 6280bb2cdb1ecc93f13098a026c323bea07de6f5 (patch) | |
tree | c5cf42ca9940715098de03a21979a74fb8a65ca5 /lib | |
parent | ede24ea38c0307cefb5c0d8d1d92ab40164ce714 (diff) | |
download | dejagnu-6280bb2cdb1ecc93f13098a026c323bea07de6f5.zip dejagnu-6280bb2cdb1ecc93f13098a026c323bea07de6f5.tar.gz dejagnu-6280bb2cdb1ecc93f13098a026c323bea07de6f5.tar.bz2 |
* baseboards/unix.exp: Don't link with -lm on cygwin.
* lib/target.exp: Remove compiler warnings about -fpic or -fPIC on
cygwin.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/target.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/target.exp b/lib/target.exp index 5cb6288..c82962f 100644 --- a/lib/target.exp +++ b/lib/target.exp @@ -271,6 +271,10 @@ proc prune_warnings { text } { # Libgloss libnosys defines functions that warn when linked in 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 + # 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. return $text |