[Freeswitch-trunk] [commit] r12574 - freeswitch/trunk/libs/esl/lua
FreeSWITCH SVN
mikej at freeswitch.org
Wed Mar 11 14:12:29 PDT 2009
Author: mikej
Date: Wed Mar 11 16:12:29 2009
New Revision: 12574
Log:
fix build
Modified:
freeswitch/trunk/libs/esl/lua/Makefile
Modified: freeswitch/trunk/libs/esl/lua/Makefile
==============================================================================
--- freeswitch/trunk/libs/esl/lua/Makefile (original)
+++ freeswitch/trunk/libs/esl/lua/Makefile Wed Mar 11 16:12:29 2009
@@ -1,5 +1,6 @@
LOCAL_CFLAGS=
LOCAL_LDFLAGS=-llua
+WRAP_GCC_WARNING_SILENCE=-Wno-unused-function
all: ESL.so
@@ -7,7 +8,7 @@
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)
More information about the Freeswitch-trunk
mailing list