Makefile: minor cleanup
This commit is contained in:
parent
b08ba5b575
commit
514d06b015
2
Makefile
2
Makefile
|
@ -11,7 +11,7 @@ ifndef LIBDIR
|
|||
endif
|
||||
|
||||
ifeq ($(LIBDIR),build)
|
||||
matchcompiler_S := $(shell sh -c 'python tools/matchcompiler.py 2>/dev/null || echo not')
|
||||
matchcompiler_S := $(shell python tools/matchcompiler.py)
|
||||
endif
|
||||
|
||||
# Set the CPPCHK_GLIBCXX_DEBUG flag. This flag is not used in release Makefiles.
|
||||
|
|
|
@ -235,7 +235,7 @@ int main(int argc, char **argv)
|
|||
fout << "# folder where lib/*.cpp files are located\n";
|
||||
makeConditionalVariable(fout, "LIBDIR", "lib");
|
||||
fout << "ifeq ($(LIBDIR),build)\n"
|
||||
<< " matchcompiler_S := $(shell sh -c 'python tools/matchcompiler.py 2>/dev/null || echo not')\n"
|
||||
<< " matchcompiler_S := $(shell python tools/matchcompiler.py)\n"
|
||||
<< "endif\n\n";
|
||||
|
||||
// The _GLIBCXX_DEBUG doesn't work in cygwin or other Win32 systems.
|
||||
|
|
Loading…
Reference in New Issue