summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/ruby18/Makefile5
1 files changed, 3 insertions, 2 deletions
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