commit | 80a45458e0d9b75d508110bd880d0ae0432b0356 | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Thu Oct 25 14:52:12 2012 -0400 |
committer | Rich Felker <dalias@aerifal.cx> | Thu Oct 25 14:52:12 2012 -0400 |
tree | 7669891463a02315532a92a34bd6322e74e5e991 | |
parent | c8cb6bcdf009e94c12c6e256b8e24a9bc5fdaf05 [diff] |
configure: test not just compiling but linking with -march/-mtune pcc wrongly passes any option beginning with -m to the linker, and will break at link time if these options were added to CFLAGS. testing linking lets us catch this at configure time and skip them.