aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-30 14:27:56 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-30 14:27:56 +0000
commitd4edd03ff9e7a37a73e12890c2b4881719989441 (patch)
tree8b9c7a7e7a426edbbb861deace48e69441a7ee10 /Makefile
parentc14fd145b7cdbcb88d91b52f567bb0faabc86162 (diff)
allow top-level OPTIMIZE setting to affect builds in these subdirectories too
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@23673 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 073845bf7..f3f1d1b31 100644
--- a/Makefile
+++ b/Makefile
@@ -433,10 +433,10 @@ endif
noclean: depend asterisk subdirs
editline/config.h:
- cd editline && unset CFLAGS LIBS && ./configure ; \
+ cd editline && unset CFLAGS LIBS && CFLAGS="$(OPTIMIZE)" ./configure ; \
editline/libedit.a: FORCE
- cd editline && unset CFLAGS LIBS && test -f config.h || ./configure
+ cd editline && unset CFLAGS LIBS && test -f config.h || CFLAGS="$(OPTIMIZE)" ./configure
$(MAKE) -C editline libedit.a
db1-ast/libdb1.a: FORCE