openbsd-ports/lang/hugs/patches/patch-src_unix_configure
dons a926eea62b Disable the ffi on all platforms. Too flakey, caused ffihugs to dump
core on sparc64. No ffi was the old hugs' behaviour.
Also respect $CC while we're here.

Tested and fixed by sturm@ with some help from me
Ok sturm@ pvalchev@
2004-05-17 02:24:32 +00:00

16 lines
370 B
Plaintext

$OpenBSD: patch-src_unix_configure,v 1.1 2004/05/17 02:24:32 dons Exp $
Don't force -O2
--- src/unix/configure.orig 2003-11-26 02:31:09.000000000 +1100
+++ src/unix/configure 2004-05-16 11:45:40.000000000 +1000
@@ -1708,7 +1708,7 @@ if test "`basename ${YACC}`x" = "byaccx"
fi;
: ${CFLAGS=-g}
-OPTFLAGS="-O2"
+: OPTFLAGS="-O2"
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'