Fixed broken HAVE_RULE support. Updated Makefile. Added override keyword when HAVE_RULES is set.
This commit is contained in:
parent
f9bc229d4b
commit
ab90a7eb49
2
Makefile
2
Makefile
|
@ -90,7 +90,7 @@ else ifeq ($(CXX), clang++)
|
|||
endif
|
||||
|
||||
ifeq ($(HAVE_RULES),yes)
|
||||
CXXFLAGS += -DHAVE_RULES -DTIXML_USE_STL $(shell pcre-config --cflags)
|
||||
override CXXFLAGS += -DHAVE_RULES -DTIXML_USE_STL $(shell pcre-config --cflags)
|
||||
ifdef LIBS
|
||||
LIBS += $(shell pcre-config --libs)
|
||||
else
|
||||
|
|
|
@ -363,7 +363,7 @@ int main(int argc, char **argv)
|
|||
<< "\n";
|
||||
|
||||
fout << "ifeq ($(HAVE_RULES),yes)\n"
|
||||
<< " CXXFLAGS += -DHAVE_RULES -DTIXML_USE_STL $(shell pcre-config --cflags)\n"
|
||||
<< " override CXXFLAGS += -DHAVE_RULES -DTIXML_USE_STL $(shell pcre-config --cflags)\n"
|
||||
<< " ifdef LIBS\n"
|
||||
<< " LIBS += $(shell pcre-config --libs)\n"
|
||||
<< " else\n"
|
||||
|
|
Loading…
Reference in New Issue