]> git.ipfire.org Git - thirdparty/tor.git/commit
Make our compiler-hardening checks robust against MinGW
authorNick Mathewson <nickm@torproject.org>
Mon, 11 Jun 2012 15:00:48 +0000 (11:00 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 11 Jun 2012 15:21:04 +0000 (11:21 -0400)
commitebaaa4834f803015e68d348f330fcef88de34a92
tree4460e3130ed9851d6d35919395b686d654e0fd17
parente6dbe693b7fd90a495b98ec790205ff4ac56fea9
Make our compiler-hardening checks robust against MinGW

First, specify -Werror when we are testing each option; if it causes
a warning to appear, we shouldn't be adding it.

Second, do not attempt to add these options until after we have
found the libraries we want.  Previously, I would hit a bug where
the linker hardening options worked fine when we weren't linking
anything, but failed completely once we added openssl or libevent.
acinclude.m4
configure.in