configure: Verify that GCC recognizes -no-pie flag
configure: Verify that GCC recognizes -no-pie flag

It seems like GCC versions prior to 4.8 exit with code 0 when faced with
an unrecognized flag. Silly compilers.

Test Plan: Validate

Reviewers: hvr, austin, ggreif

Reviewed By: ggreif

Subscribers: thomie, erikd

Differential Revision: https://phabricator.haskell.org/D2707

GHC Trac Issues: #12759

shlevy/ghc,olsner/ghc,shlevy/ghc,ezyang/ghc,mettekou/ghc,sdiehl/ghc,ezyang/ghc,olsner/ghc,mettekou/ghc,ezyang/ghc,ezyang/ghc,olsner/ghc,sdiehl/ghc,shlevy/ghc,mettekou/ghc,olsner/ghc,ezyang/ghc,mettekou/ghc,olsner/ghc,mettekou/ghc,sdiehl/ghc,olsner/ghc,shlevy/ghc,sdiehl/ghc,sdiehl/ghc,sdiehl/ghc,mettekou/ghc,shlevy/ghc,mettekou/ghc,ezyang/ghc,olsner/ghc,sdiehl/ghc,shlevy/ghc,shlevy/ghc,ezyang/ghc