Makefile: minor cleanup

This commit is contained in:
Daniel Marjamäki 2012-12-03 06:34:43 +01:00
parent b08ba5b575
commit 514d06b015
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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.