diff options
-rwxr-xr-x | service/system/task_manager/client/libtskmcfg/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/service/system/task_manager/client/libtskmcfg/Makefile b/service/system/task_manager/client/libtskmcfg/Makefile index bb11d6f..1179183 100755 --- a/service/system/task_manager/client/libtskmcfg/Makefile +++ b/service/system/task_manager/client/libtskmcfg/Makefile @@ -23,7 +23,7 @@ INST_HEADERS = tskm_xml_data.h tskm_svcid.h task_manager_libtskmcfg.h libtskmcfg_SRCS = tskm_xml_data.cpp -CPPFLAGS = -I./ -I./include -I./../../include-share -I./../../server/include +CPPFLAGS += -I./ -I./include -I./../../include-share -I./../../server/include LDFLAGS += -Wl,--no-as-needed LDLIBS += -Wl,-Bdynamic -lNS_FrameworkUnified @@ -38,7 +38,9 @@ HOST_CPP=cpp XMLCHECKER=xmllint XMLCHECKEROPT=--noout --valid PARSEXMLCMD=parsexml -HOSTCC=gcc +HOSTCC=$(BUILD_CC) +HOSTCFLAGS=$(BUILD_CFLAGS) +HOSTLDFLAGS=$(BUILD_LDFLAGS) XMLFILETOP=tskm_cfg.xml install:install-pre install-pre-header @@ -85,6 +87,6 @@ $(XMLOUTFILE):top.xml $(PARSEXMLCMD) $(CONFIG_FILES) ./$(PARSEXMLCMD) $< $(PARSEXMLCMD):$(PARSEXMLCMD).c - $(HOSTCC) -o $@ $< -lexpat + $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $< -lexpat include ../../../system_service.mk |