use the CFLAGS from the main Makefile when building libdb1
authorRussell Bryant <russell@russellbryant.com>
Sun, 18 Jun 2006 20:41:32 +0000 (20:41 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sun, 18 Jun 2006 20:41:32 +0000 (20:41 +0000)
(issue #7324, with mods)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34630 65c4cc65-6c06-0410-ace0-fbb531ad65f3

db1-ast/Makefile

index 88273a0..4f506fc 100644 (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)