diff options
author | Corinna Vinschen <vinschen@redhat.com> | 2018-08-13 17:08:51 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-08-13 13:01:25 -0700 |
commit | 477b49a34b89f506f4794b35e3c70b3e2e83cd38 (patch) | |
tree | 9b744cef0d733197b71a2599334f78be52e025c7 /sandbox-rlimit.c | |
parent | b0917945efa374be7648d67dbbaaff323ab39edc (diff) |
configure: work around GCC shortcoming on Cygwin
Cygwin's latest 7.x GCC allows to specify -mfunction-return=thunk
as well as -mindirect-branch=thunk on the command line, albeit
producing invalid code, leading to an error at link stage.
The check in configure.ac only checks if the option is present,
but not if it produces valid code.
This patch fixes it by special-casing Cygwin. Another solution
may be to change these to linker checks.
Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
Diffstat (limited to 'sandbox-rlimit.c')
0 files changed, 0 insertions, 0 deletions