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 | |
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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | baseboards/unix.exp | 5 | ||||
-rw-r--r-- | lib/target.exp | 4 |
3 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2001-04-03 David Billinghurst <David.Billinghurst@riotinto.com> + + * baseboards/unix.exp: Don't link with -lm on cygwin. + * lib/target.exp: Remove compiler warnings about -fpic or -fPIC on + cygwin. + 2001-02-21 Rob Savoye <rob@slipknot.welcomehome.org> * debian/changelog: Add entry for new release. diff --git a/baseboards/unix.exp b/baseboards/unix.exp index 98d1ec1..80fe9de 100644 --- a/baseboards/unix.exp +++ b/baseboards/unix.exp @@ -6,3 +6,8 @@ process_multilib_options ""; set_board_info compiler "[find_gcc]"; set_board_info bmk,use_alarm 1; + +# Do not use -lm on Cygwin +if { [istarget "*-*-cygwin*"] } { + set_board_info mathlib ""; +} 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 |