From 2e2eea3b35bec42663ea662e53566bd2f7d80c82 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 11 Mar 2009 21:12:29 +0000 Subject: [PATCH] fix build git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12574 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/esl/lua/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/esl/lua/Makefile b/libs/esl/lua/Makefile index 9d3b70344f..f77a2b1431 100644 --- a/libs/esl/lua/Makefile +++ b/libs/esl/lua/Makefile @@ -1,5 +1,6 @@ LOCAL_CFLAGS= LOCAL_LDFLAGS=-llua +WRAP_GCC_WARNING_SILENCE=-Wno-unused-function all: ESL.so @@ -7,7 +8,7 @@ esl_wrap.cpp: swig -module ESL -lua -c++ -DMULTIPLICITY -I../src/include -o esl_wrap.cpp ../ESL.i esl_wrap.o: esl_wrap.cpp - $(CXX) $(CXX_CFLAGS) $(CXXFLAGS) $(LOCAL_CFLAGS) -c esl_wrap.cpp -o esl_wrap.o + $(CXX) $(CXX_CFLAGS) $(CXXFLAGS) $(LOCAL_CFLAGS) $(WRAP_GCC_WARNING_SILENCE) -c esl_wrap.cpp -o esl_wrap.o ESL.so: esl_wrap.o $(CXX) $(SOLINK) esl_wrap.o $(MYLIB) $(LOCAL_LDFLAGS) -o ESL.so -L. $(LIBS)