Skip to content

Commit c05a390

Browse files
committed
dmake: in run-dmake target run dmake with --release in a release Makefile (#5792)
1 parent fef1ede commit c05a390

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/dmake.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ int main(int argc, char **argv)
674674
fout << "dmake:\ttools/dmake.o cli/filelister.o $(libcppdir)/pathmatch.o $(libcppdir)/path.o $(libcppdir)/utils.o externals/simplecpp/simplecpp.o\n";
675675
fout << "\t$(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)\n\n";
676676
fout << "run-dmake: dmake\n";
677-
fout << "\t./dmake\n\n";
677+
fout << "\t./dmake" << (release ? " --release" : "") << "\n\n"; // Make CI in release builds happy
678678
fout << "clean:\n";
679679
fout << "\trm -f build/*.cpp build/*.o lib/*.o cli/*.o test/*.o tools/*.o externals/*/*.o testrunner dmake cppcheck cppcheck.exe cppcheck.1\n\n";
680680
fout << "man:\tman/cppcheck.1\n\n";

0 commit comments

Comments
 (0)