use the CFLAGS from the main Makefile when building libdb1

(issue #7324, with mods)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant 2006-06-18 20:41:32 +00:00
parent 9843e16df2
commit c18da28251
1 changed files with 1 additions and 2 deletions

View File

@ -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)