mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
FS-2746 --resolve large xmlrpc update thanks garmt
This commit is contained in:
@@ -14,9 +14,11 @@ PROGRAMS_TO_INSTALL = xmlrpc_cpp_proxy
|
||||
|
||||
include $(SRCDIR)/tools/common.mk
|
||||
|
||||
INCLUDES = -I$(BLDDIR) -I$(BLDDIR)/include -I$(SRCDIR)/include
|
||||
# <sstream.h> in Glibc 2.2 has a bug that results in inlining failure,
|
||||
# so we disable warnings for that:
|
||||
CFLAGS_LOCAL = -Wno-inline
|
||||
|
||||
CXXFLAGS = $(INCLUDES) $(CXXFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD)
|
||||
INCLUDES = -I$(BLDDIR) -I$(BLDDIR)/include -Isrcdir/include
|
||||
|
||||
LDFLAGS = $(LADD)
|
||||
|
||||
@@ -43,14 +45,14 @@ xmlrpc_cpp_proxy: $(OBJECTS) $(LIBS)
|
||||
$(CXXLD) -o $@ $(LDFLAGS) $(OBJECTS) $(LDLIBS) $(LADD)
|
||||
|
||||
%.o:%.cpp $(BLDDIR)/include/xmlrpc-c/config.h
|
||||
$(CXX) -c $(CXXFLAGS) $<
|
||||
$(CXX) -c $(CXXFLAGS_ALL) $<
|
||||
|
||||
# This common.mk dependency makes sure the symlinks get built before
|
||||
# this make file is used for anything.
|
||||
|
||||
$(SRCDIR)/tools/common.mk: srcdir blddir
|
||||
|
||||
include Makefile.depend
|
||||
include depend.mk
|
||||
|
||||
.PHONY: clean
|
||||
clean: clean-common
|
||||
|
Reference in New Issue
Block a user