blob: aba17bfdd1f918885851ce9058273b0448e22611 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
$NetBSD: patch-al,v 1.1 1999/11/25 01:50:44 hubertf Exp $
diff -x *.orig -urN ./configure /usr/pkgsrc/net/zephyr/work.i386.unpatched/zephyr-2.0.4/configure
--- ./configure Thu Apr 4 01:42:30 1996
+++ /usr/pkgsrc/net/zephyr/work.i386.unpatched/zephyr-2.0.4/configure Thu Nov 25 02:52:54 1999
@@ -502,7 +502,7 @@
fi
ac_ext=c
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+# CFLAGS is not in ac_cpp because -g, -O2, etc. are not valid cpp options.
ac_cpp='echo $CPP $CPPFLAGS 1>&5;
$CPP $CPPFLAGS'
ac_compile='echo ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5;
@@ -767,9 +767,9 @@
echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
if test $ac_cv_prog_gcc_g = yes; then
- CFLAGS="-g -O"
+ CFLAGS="-g -O2"
else
- CFLAGS="-O"
+ CFLAGS="-O2"
fi
fi
else
|