openbsd-ports/lang/swi-prolog/patches/patch-packages_semweb_configure_in
2008-08-29 12:30:21 +00:00

23 lines
665 B
Plaintext

$OpenBSD: patch-packages_semweb_configure_in,v 1.2 2008/08/29 12:30:21 espie Exp $
Don't override CFLAGS, don't force -O3 (but keep -fno-strict-aliasing).
--- packages/semweb/configure.in.orig Tue Aug 5 21:36:31 2008
+++ packages/semweb/configure.in Fri Aug 29 14:11:36 2008
@@ -65,14 +65,13 @@ AC_CHECK_PROGS(ETAGS, etags ctags, ":")
AC_PROG_INSTALL
AC_ISC_POSIX
AC_HEADER_STDC
-CFLAGS="$CMFLAGS"
AC_FUNC_ALLOCA
AC_C_BIGENDIAN
AC_C_INLINE
AC_CHECK_SIZEOF(long)
if test ! -z "$GCC"; then
- COFLAGS="${COFLAGS--O3 -fno-strict-aliasing}"
+ COFLAGS="${COFLAGS} -fno-strict-aliasing"
CWFLAGS="${CWFLAGS--Wall}"
else
COFLAGS="${CFLAGS--O}"