Paul Wouters <[email protected]> writes: > On Fri, 22 Jun 2012, Jacob Appelbaum wrote: > >> I'd like to suggest that you take the gcc/compiler hardening code from >> Tor's autoconf - I think you need it on by default and it's rather well >> tested now for all of the major platforms: >> >> https://gitweb.torproject.org/tor.git/blob/f96f319b9e9fba5ff52eba2daec2247080f268ee:/configure.in#l557 > > Distro's have their own configs to set CFLAGS related options. Be > careful with interfering with those.
Speaking as the pkgsrc maintainer for otr, I would be happy to see configure add in heavy -Werror etc. as long as configure is sure to do that for gcc or other recognized compilers, and doesn't misbehave if the compiler happens to be clang or something else (which probably needs different extra options). I believe the autoconf norm is to recognize gcc and then add options, and if so that's totally fine.
pgpkNyIBQ2lt2.pgp
Description: PGP signature
_______________________________________________ OTR-users mailing list [email protected] http://lists.cypherpunks.ca/mailman/listinfo/otr-users
