From c18da2825198ead9b0c3bd272c6eb433996674a1 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Sun, 18 Jun 2006 20:41:32 +0000 Subject: [PATCH] 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 --- db1-ast/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/db1-ast/Makefile b/db1-ast/Makefile index 88273a0a97..4f506fc690 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)