diff options
author | Christian Kandeler <[email protected]> | 2025-05-19 13:57:44 +0200 |
---|---|---|
committer | Christian Kandeler <[email protected]> | 2025-05-19 13:24:13 +0000 |
commit | f5fd1050252fa85405442b4677b9c2c250d810e5 (patch) | |
tree | 987687f56c63b5910cf1fae7aa0154d77e76f0bf /src/tools/mdnssd/mDNSUNP.c | |
parent | 14ddb47e63ae0c6a9de2b6547d3ec6a612255260 (diff) |
qbs build: Do not fail on no-op upx calls
The problem is as follows:
- qbs re-runs a command if one of the rule inputs' file file stamp
changes.
- However, go has build tool functionality built in and will not
rebuild if it detects that the changes in the source file are
irrelevant.
- In such a case, upx will get an input file that is already
compressed, resulting in a warning.
- Unfortunately, this harmless warning will result in an exit code
of 2, which qbs interprets as a build failure.
- Command.maxExitCode does not help, because the warning exit code
is higher than the failure exit code.
Therefore, we use a JavaScriptCommand and run the process manually.
Change-Id: I567ba1a5e5f2891a4a093c7637b2845c8663ea22
Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/tools/mdnssd/mDNSUNP.c')
0 files changed, 0 insertions, 0 deletions