openbsd-ports/net/silc-client/patches/patch-configure

35 lines
818 B
Plaintext

$OpenBSD: patch-configure,v 1.6 2002/05/22 09:58:37 mark Exp $
--- configure.orig Sat May 18 01:40:53 2002
+++ configure Tue May 21 20:07:34 2002
@@ -2660,12 +2660,6 @@ else
SILC_DIST_WIN32DLL_FALSE=
fi
-# XXX
-# Compiler flags
-if test "$GCC"; then
- CFLAGS="-Wall -finline-functions $CFLAGS"
-fi
-
# Program checking
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
@@ -12362,16 +12356,14 @@ echo "${ECHO_T}yes" >&6
#define SILC_DEBUG 1
EOF
- CFLAGS="-O -g $CFLAGS"
+ CFLAGS="-g $CFLAGS"
;;
*)
echo "$as_me:12368: result: no" >&5
echo "${ECHO_T}no" >&6
- CFLAGS="-O2 -g $CFLAGS"
;;
esac
else
- CFLAGS="-O2 -g $CFLAGS"
echo "$as_me:12375: result: no" >&5
echo "${ECHO_T}no" >&6
fi;