diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2018-04-19 15:05:50 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-04-19 18:06:15 -0400 |
commit | cbd73bbbb7df080d5204098aa02e5f5d0d48823c (patch) | |
tree | 444ad64033e36ca256ce6917fc5a343d3d0a726b /boot | |
parent | 3c3e73103a45c9acee1682300727bad7b6a62d30 (diff) | |
download | haskell-cbd73bbbb7df080d5204098aa02e5f5d0d48823c.tar.gz |
configure: Use -Werror to check for existence of -no-pie
Clang throws a warning instead of an error when it is passed -no-pie,
clang: warning: argument unused during compilation: '-nopie'
[-Wunused-command-line-argument]
Consequently configure concludes that it supports -no-pie. However, this
will fail when used with -Werror. The solution is to simply use -Werror
in the configure check.
Thanks to @goldfire for reporting this.
Reviewers: hvr
Subscribers: thomie, carter, goldfire
Differential Revision: https://phabricator.haskell.org/D4557
Diffstat (limited to 'boot')
0 files changed, 0 insertions, 0 deletions