configure: test not just compiling but linking with -march/-mtune
authorRich Felker <dalias@aerifal.cx>
Thu, 25 Oct 2012 18:52:12 +0000 (14:52 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 25 Oct 2012 18:52:12 +0000 (14:52 -0400)
commit80a45458e0d9b75d508110bd880d0ae0432b0356
tree7669891463a02315532a92a34bd6322e74e5e991
parentc8cb6bcdf009e94c12c6e256b8e24a9bc5fdaf05
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.
configure