REALLY honor CC/CFLAGS (changes to both Makefile_in and configure needed)

This commit is contained in:
mark 2002-10-28 01:55:49 +00:00
parent 7af3149e39
commit 33fe2c06e0
2 changed files with 32 additions and 8 deletions

View File

@ -1,15 +1,22 @@
$OpenBSD: patch-Makefile_in,v 1.9 2002/10/28 01:19:06 mark Exp $
--- Makefile.in.orig Thu Jun 27 10:27:33 2002
+++ Makefile.in Sun Oct 27 17:14:31 2002
@@ -27,7 +27,7 @@ DOC = COPYING README README.PLUGINS
$OpenBSD: patch-Makefile_in,v 1.10 2002/10/28 01:55:49 mark Exp $
--- Makefile.in~ Sun Oct 27 17:45:31 2002
+++ Makefile.in Sun Oct 27 17:46:02 2002
@@ -27,13 +27,13 @@ DOC = COPYING README README.PLUGINS
./plugins/H01_zaratan/ZARATAN.HOWTO ./plugins/H05_roper/ROPER.HOWTO
DEBUG = @DEBUG@
-CFLAG = @E_CFLAGS@
+CFLAG += @E_CFLAGS@
+CFLAGS += @E_CFLAGS@
COPTS = -I. @COPTS@
PROG = @PROG@
VERSION = @VERSION@
-ALLOPT = $(DEBUG) $(CFLAG) $(COPTS)
+ALLOPT = $(DEBUG) $(CFLAGS) $(COPTS)
.c.o:
@@ -59,7 +59,7 @@ src/include/ec_install_path.h:
@INCLUDE_DEPEND@

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure,v 1.6 2002/10/28 01:19:06 mark Exp $
--- configure.orig Fri Jun 14 09:53:14 2002
+++ configure Sun Oct 27 17:14:31 2002
$OpenBSD: patch-configure,v 1.7 2002/10/28 01:55:49 mark Exp $
--- configure~ Sun Oct 27 17:47:41 2002
+++ configure Sun Oct 27 17:50:31 2002
@@ -7754,13 +7754,13 @@ if test $check_ncurses -ne 0; then
curses_warn=0
@ -27,6 +27,23 @@ $OpenBSD: patch-configure,v 1.6 2002/10/28 01:19:06 mark Exp $
else
ncurses_warn=1
@@ -8554,14 +8554,14 @@ echo "${ECHO_T}yes" >&6
;;
no) echo "$as_me:$LINENO: result: no." >&5
echo "${ECHO_T}no." >&6
- E_CFLAGS="-O3 -funroll-loops -fomit-frame-pointer -Wall"
+ E_CFLAGS="-funroll-loops -fomit-frame-pointer -Wall"
ac_cv_ec_debug=no
;;
esac
else
echo "$as_me:$LINENO: result: no. disabled by default." >&5
echo "${ECHO_T}no. disabled by default." >&6
- E_CFLAGS="-O3 -funroll-loops -fomit-frame-pointer -Wall"
+ E_CFLAGS="-funroll-loops -fomit-frame-pointer -Wall"
ac_cv_ec_debug=no
fi;
@@ -8917,7 +8917,7 @@ if test $check_ssh -ne 0; then
if test -f $ssl_path/include/openssl/ssl.h; then