[Freeswitch-svn] [commit] r13660 - freeswitch/trunk/libs/esl/perl
FreeSWITCH SVN
mikej at freeswitch.org
Fri Jun 5 17:14:56 PDT 2009
Author: mikej
Date: Fri Jun 5 19:14:55 2009
New Revision: 13660
Log:
silence stupid errors
Modified:
freeswitch/trunk/libs/esl/perl/Makefile
Modified: freeswitch/trunk/libs/esl/perl/Makefile
==============================================================================
--- freeswitch/trunk/libs/esl/perl/Makefile (original)
+++ freeswitch/trunk/libs/esl/perl/Makefile Fri Jun 5 19:14:55 2009
@@ -3,6 +3,7 @@
PERL_LIBS=$(shell perl -MConfig -e 'print $$Config{libs}')
LOCAL_CFLAGS=-w -DMULTIPLICITY $(shell $(PERL) -MExtUtils::Embed -e ccopts) -DEMBED_PERL
LOCAL_LDFLAGS=$(shell $(PERL) -MExtUtils::Embed -e ldopts) $(shell $(PERL) -MConfig -e 'print $$Config{libs}')
+GCC_WARNING_JUNK=-w
PERL_INC=$(shell $(PERL) -MExtUtils::Embed -e perl_inc)
all: ESL.so
@@ -16,7 +17,7 @@
$(CC) $(CC_CFLAGS) $(CFLAGS) $(LOCAL_CFLAGS) -c perlxsi.c -o perlxsi.o
esl_wrap.o: esl_wrap.cpp
- $(CXX) $(CXX_CFLAGS) $(CXXFLAGS) $(PERL_INC) -c esl_wrap.cpp -o esl_wrap.o
+ $(CXX) $(CXX_CFLAGS) $(CXXFLAGS) $(GCC_WARNING_JUNK) $(PERL_INC) -c esl_wrap.cpp -o esl_wrap.o
ESL.so: esl_wrap.o perlxsi.o
$(CXX) $(SOLINK) esl_wrap.o perlxsi.o $(MYLIB) $(LOCAL_LDFLAGS) -o ESL.so -L. $(LIBS)
More information about the Freeswitch-svn
mailing list