configure: Verify that GCC recognizes -no-pie flag
authorBen Gamari <bgamari.foss@gmail.com>
Mon, 14 Nov 2016 19:13:30 +0000 (14:13 -0500)
committerBen Gamari <ben@smart-cactus.org>
Mon, 14 Nov 2016 19:13:31 +0000 (14:13 -0500)
commit011af2bf448c28db68a55293abaa5b294f170e37
tree5c458ba3bcdab9bd57ca43f453c341e19a642a41
parentcb168900f88564e7d2e084c5ccd131d4109be795
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
aclocal.m4