aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-07 23:52:45 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-07 23:52:45 +0000
commit26a4b963a9331e459849ad315adf7433cf61b210 (patch)
tree1a87727f117d4f3e28961e9d9b4e40e307ecc772
parent13bd3c90dec3b92dfe2dc10d5155df71cb324ced (diff)
When building libdb1.a, put the additional flags needed at the beginning of
ASTCFLAGS, instead of at the end. This way, we ensure that we find the local headers first before accidentally trying to use headers that exist in locations specified in the ASTCFLAGS passed from the main Makefile. (issue #8637, ovi) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53497 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--main/db1-ast/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/db1-ast/Makefile b/main/db1-ast/Makefile
index 15d7f6a4f..73ccbd605 100644
--- a/main/db1-ast/Makefile
+++ b/main/db1-ast/Makefile
@@ -48,7 +48,7 @@ clean-depend:
clean:
rm -f $(LIBDB) $(LIBDBSO) $(OBJS) $(SHOBJS)
-ASTCFLAGS+=-Wall -D__DBINTERFACE_PRIVATE -I. -I.. -Iinclude -Ihash -Ibtree -Irecno
+ASTCFLAGS:=-Wall -D__DBINTERFACE_PRIVATE -I. -I.. -Iinclude -Ihash -Ibtree -Irecno $(ASTCFLAGS)
OSTYPE=$(shell uname -s)
ifeq ($(OSTYPE),SunOS)