Skip to content

Commit b4f07cd

Browse files
authored
donate_cpu_lib.py: reverted back to overriding CXXFLAGS for now [skip ci] (#7777)
using `CXXOPTS` leaves the `_GLIBCXX_DEBUG` usage in "debug" Makefiles intact
1 parent b413181 commit b4f07cd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/donate_cpu_lib.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/
1717
# Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic
1818
# changes)
19-
CLIENT_VERSION = "1.3.68"
19+
CLIENT_VERSION = "1.3.69"
2020

2121
# Timeout for analysis with Cppcheck in seconds
2222
CPPCHECK_TIMEOUT = 30 * 60
@@ -217,7 +217,8 @@ def compile_cppcheck(cppcheck_path):
217217
# TODO: processes still exhaust all threads of the system
218218
subprocess.check_call([__make_cmd, '-t:cli', os.path.join(cppcheck_path, 'cppcheck.sln'), '/property:Configuration=Release;Platform=x64'], cwd=cppcheck_path, env=build_env)
219219
else:
220-
build_cmd = [__make_cmd, __jobs, 'MATCHCOMPILER=yes', 'CXXOPTS=-O2 -g -w']
220+
# TODO: use CXXOPTS instead
221+
build_cmd = [__make_cmd, __jobs, 'MATCHCOMPILER=yes', 'CXXFLAGS=-O2 -g -w']
221222
build_env = os.environ
222223
if __make_cmd == 'mingw32-make':
223224
# TODO: MinGW will always link even if no changes are present

0 commit comments

Comments
 (0)