aboutsummaryrefslogtreecommitdiff
path: root/dist.sh
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2015-01-05 20:14:54 -0600
committerBrent Cook <bcook@openbsd.org>2015-01-05 20:23:48 -0600
commit303b972d554493e0be1c63061500f730ca88e4a8 (patch)
treee4a1b8497034bfd1daad4efa5df2a4c79f6abe16 /dist.sh
parent5be407a42427a298cc00241f5d6bf67c9c7fa041 (diff)
downloadportable-303b972d554493e0be1c63061500f730ca88e4a8.tar.gz
portable-303b972d554493e0be1c63061500f730ca88e4a8.tar.bz2
portable-303b972d554493e0be1c63061500f730ca88e4a8.zip
simplify hardening check logic, disable for mingw
Rather than doing separate linker/compiler checks, just build a non-empty program with each so that the compiler will actually try to use the hardening features. Reduce redundancy in the macro calls by just setting the flag that was just tested. Also, disable hardening for mingw, since its trying to use a libssp-0.dll file that I can't find right now. The detected hardening flags break mingw builds currently.
Diffstat (limited to 'dist.sh')
0 files changed, 0 insertions, 0 deletions