$OpenBSD: patch-configure,v 1.11 2003/01/15 03:06:26 brad Exp $
--- configure.orig	Wed Jan  8 11:19:37 2003
+++ configure	Mon Jan 13 20:09:18 2003
@@ -3099,13 +3099,6 @@ else
 fi
 
 
-# XXX
-# Compiler flags
-#
-if test "$GCC"; then
-  CFLAGS="-Wall -finline-functions $CFLAGS"
-fi
-
 #
 # Library versioning.
 #
@@ -5963,7 +5956,7 @@ else
     hardcode_direct=yes
     hardcode_shlibpath_var=no
     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
-      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
       export_dynamic_flag_spec='${wl}-E'
     else
@@ -5973,7 +5966,7 @@ else
 	hardcode_libdir_flag_spec='-R$libdir'
         ;;
       *)
-        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
         ;;
       esac
@@ -12512,19 +12505,16 @@ echo "${ECHO_T}yes" >&6
 #define SILC_DEBUG 1
 _ACEOF
 
-        CFLAGS="-O -g $CFLAGS"
 	summary_debug="yes"
         ;;
       *)
         echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6
-        CFLAGS="-O2 -g $CFLAGS"
         ;;
     esac
 
 else
 
-    CFLAGS="-O2 -g $CFLAGS"
     echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6
 
