diff options
Diffstat (limited to 'chat/libotr/Makefile')
-rw-r--r-- | chat/libotr/Makefile | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/chat/libotr/Makefile b/chat/libotr/Makefile index 4f6ec80bf2f..b2b4c888203 100644 --- a/chat/libotr/Makefile +++ b/chat/libotr/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.12 2012/08/14 22:08:09 gdt Exp $ +# $NetBSD: Makefile,v 1.13 2012/09/06 00:23:18 gdt Exp $ -VERSION= 3.2.1 +VERSION= 4.0.0 DISTNAME= libotr-${VERSION} CATEGORIES= chat security MASTER_SITES= http://www.cypherpunks.ca/otr/ @@ -18,6 +18,24 @@ CONFIGURE_ARGS+= --with-pic USE_LIBTOOL= yes +# There's an apparent bug in gcc 4.1.3 on i386 (as shipped in +# netbsd-5). With -O2 and the stack protector (SSP) feature, the +# function otrl_auth_handle_revealsig is badly miscompiled. +# Therefore, we turn down optimization, since that seems better than +# turning off the stack protector. + +#Not apparently relevant, but makes -S output easier to follow. +#CFLAGS+= -ggdb +#A way to avoid the bug. +#CFLAGS+= -O1 + +# Avoid optimization/SSP bug. +CONFIGURE_ARGS+= --disable-gcc-hardening + +# This seems irrelevant, but was on the list to check, and thus is +# left as a hint to others. +#CONFIGURE_ARGS+= --disable-linker-hardening + .include "../../devel/gettext-lib/buildlink3.mk" .include "../../security/libgcrypt/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |