[asterisk-commits] russell: branch 1.4 r53497 - /branches/1.4/main/db1-ast/Makefile

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Feb 7 16:52:46 MST 2007


Author: russell
Date: Wed Feb  7 17:52:45 2007
New Revision: 53497

URL: http://svn.digium.com/view/asterisk?view=rev&rev=53497
Log:
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)

Modified:
    branches/1.4/main/db1-ast/Makefile

Modified: branches/1.4/main/db1-ast/Makefile
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/db1-ast/Makefile?view=diff&rev=53497&r1=53496&r2=53497
==============================================================================
--- branches/1.4/main/db1-ast/Makefile (original)
+++ branches/1.4/main/db1-ast/Makefile Wed Feb  7 17:52:45 2007
@@ -48,7 +48,7 @@
 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)



More information about the asterisk-commits mailing list