aboutsummaryrefslogtreecommitdiffstats
path: root/db1-ast/Makefile
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-18 20:41:32 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-18 20:41:32 +0000
commita3bcbd6d7f94a9f5d80b1be1bf56270c7729198d (patch)
treea06de477821381daeabf66b1cfddc51f3cb381d3 /db1-ast/Makefile
parent0dd66d06730eb7a08d8f69df3a1960337c9f0346 (diff)
use the CFLAGS from the main Makefile when building libdb1
(issue #7324, with mods) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34630 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'db1-ast/Makefile')
-rw-r--r--db1-ast/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/db1-ast/Makefile b/db1-ast/Makefile
index 88273a0a9..4f506fc69 100644
--- a/db1-ast/Makefile
+++ b/db1-ast/Makefile
@@ -51,8 +51,7 @@ clean-depend:
clean:
rm -f $(LIBDB) $(LIBDBSO) $(OBJS) $(SHOBJS)
-OORG= -O2
-CL= $(CC) -Wall -c -D__DBINTERFACE_PRIVATE $(OORG) -I. -Iinclude
+CL= $(CC) $(CFLAGS) -Wall -c -D__DBINTERFACE_PRIVATE -I. -I.. -Iinclude
OSTYPE=$(shell uname -s)
ifeq ($(OSTYPE),SunOS)