summary refs log tree commit diff
diff options
context:
space:
mode:
authorherbert <herbert@gondor.apana.org.au>2005-03-25 20:19:19 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2005-09-26 18:33:04 +1000
commitae5763266a73f6480ab70ebcbe6572a5dc27ec2e (patch)
treeee936b4284dc667fb323c8a14757f00c643f92e0
parentCleaned up src/Makefile.am. (diff)
downloaddash-ae5763266a73f6480ab70ebcbe6572a5dc27ec2e.tar.gz
dash-ae5763266a73f6480ab70ebcbe6572a5dc27ec2e.zip
Get rid of duplicate -g -O2 in CFLAGS.
Diffstat (limited to '')
-rw-r--r--ChangeLog3
-rw-r--r--src/Makefile.am4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3d4412b..5e04f4e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
+2005-03-25  Herbert Xu <herbert@gondor.apana.org.au>
+
 	* Cleaned up src/Makefile.am.
+	* Get rid of duplicate -g -O2 in CFLAGS.
 
 2005-03-25  Gilles Chanteperdrix <gilles.chanteperdrix@laposte.net>
 
diff --git a/src/Makefile.am b/src/Makefile.am
index 1675d9f..4e05be8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,7 +2,7 @@
 
 AM_YFLAGS = -d
 
-COMMON_CFLAGS = -g -O2 -Wall
+COMMON_CFLAGS = -Wall
 COMMON_CPPFLAGS = \
 	-include $(top_builddir)/config.h \
 	-DBSD=1 -DSMALL -DSHELL \
@@ -11,7 +11,7 @@ COMMON_CPPFLAGS = \
 
 AM_CFLAGS = $(COMMON_CFLAGS)
 AM_CPPFLAGS = $(COMMON_CPPFLAGS)
-AM_CFLAGS_FOR_BUILD = $(COMMON_CFLAGS) 
+AM_CFLAGS_FOR_BUILD = -g -O2 $(COMMON_CFLAGS) 
 AM_CPPFLAGS_FOR_BUILD = $(COMMON_CPPFLAGS)
 
 COMPILE_FOR_BUILD = \