From bb87238692f2a79efe64ffde14d0f02c94cc831f Mon Sep 17 00:00:00 2001 From: swills Date: Tue, 18 Sep 2012 20:41:15 +0000 Subject: - Fix build with clang Submitted by: dim --- lang/ruby18/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lang/ruby18') diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile index c8adbfe101d4..274207baa2b1 100644 --- a/lang/ruby18/Makefile +++ b/lang/ruby18/Makefile @@ -20,11 +20,12 @@ COMMENT?= An object-oriented interpreted scripting language GNU_CONFIGURE= yes WRKSRC= ${RUBY_WRKSRC} -CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} --enable-shared -CONFIGURE_ENV= CFLAGS="-I${OPENSSLINC} ${CFLAGS}" \ +CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} --enable-shared --enable-frame-address +CONFIGURE_ENV= CFLAGS="-fwrapv -I${OPENSSLINC} ${CFLAGS}" \ LDFLAGS="-L${OPENSSLLIB} ${LDFLAGS}" \ LIBS="-L${OPENSSLLIB} ${LDFLAGS}" \ CPPFLAGS="-I${OPENSSLINC} ${CPPFLAGS}" +USE_CSTD= gnu89 USE_OPENSSL= yes USE_LDCONFIG= yes USE_AUTOTOOLS= aclocal autoconf -- cgit