Don't hard-code -O2; respect CFLAGS

This commit is contained in:
Kris Kennaway 2001-04-29 23:31:45 +00:00
parent 4b7eb9972b
commit 64308b7fbd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42045
3 changed files with 13 additions and 11 deletions

View file

@ -1,5 +1,5 @@
--- Makefile.orig Wed Oct 14 03:11:42 1998
+++ Makefile Tue Jul 4 21:39:46 2000
--- Makefile.orig Tue Oct 13 18:11:42 1998
+++ Makefile Sun Apr 29 23:24:10 2001
@@ -6,7 +6,7 @@
VERSION = $(VERMAJ).$(VERMIN).$(VERPAT)
@ -25,8 +25,9 @@
+MKDIRP = mkdir -p
-CC = gcc
-OPTIM = -O2
+#CC = gcc
OPTIM = -O2
+OPTIM = $(CFLAGS)
INCDIR = -I.

View file

@ -1,5 +1,5 @@
--- Makefile.orig Fri Mar 10 17:45:19 2000
+++ Makefile Tue Jul 4 21:40:24 2000
--- Makefile.orig Fri Mar 10 08:45:19 2000
+++ Makefile Sun Apr 29 23:26:59 2001
@@ -6,7 +6,7 @@
VERSION = $(VERMAJ).$(VERMIN).$(VERPAT)
@ -25,8 +25,9 @@
+MKDIRP = mkdir -p
-CC = gcc
-OPTIM = -O2
+#CC = gcc
OPTIM = -O2
+OPTIM = $(CFLAGS)
INCDIR = -I.

View file

@ -1,5 +1,5 @@
--- Makefile.orig Mon Jul 6 02:15:59 1998
+++ Makefile Tue Jul 4 21:40:59 2000
--- Makefile.orig Sun Jul 5 17:15:59 1998
+++ Makefile Sun Apr 29 23:29:53 2001
@@ -8,7 +8,7 @@
###########################################################################
@ -18,15 +18,15 @@
INSTLIBDIR = $(INSTBASEDIR)/lib
INSTINCDIR = $(INSTBASEDIR)/include
-INSTALL = install -m 644
-MKDIRP = install -d -m 755
+INSTALL = ${BSD_INSTALL_DATA}
+MKDIRP = install -d -m 755
MKDIRP = install -d -m 755
###########################################################################
-CC = gcc
-OPTIM = -O2
+#CC = gcc
OPTIM = -O2
+OPTIM = ${CFLAGS}
LIBDIR = -L.
INCDIR = -I.