aboutsummaryrefslogtreecommitdiff
path: root/depends
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-04-11 15:42:00 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-05-10 18:31:49 +0300
commita58868d201cb6d263aa552815f7f86562c1ca9a5 (patch)
tree164050cc82cbebb8b8c37df80181c1d99cfd5461 /depends
parent32692d26813ba099c1451ae5941d38923bec761c (diff)
build: Makes rcc output always deterministic
The Qt Resource Compiler (rcc) has a command-line option `--format-version` which has the default value 2. The only difference from `--format-version 1` is adding a last modified timestamp to the output file. That, in turn, forces us to use `QT_RCC_SOURCE_DATE_OVERRIDE=1` to get deterministic builds. This change makes rcc output always deterministic by using `--format-version 1` option that makes usage of the `QT_RCC_SOURCE_DATE_OVERRIDE` needless. Also it improves interaction with ccache. Co-authored-by: fanquake <fanquake@gmail.com>
Diffstat (limited to 'depends')
-rw-r--r--depends/packages/qt.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/depends/packages/qt.mk b/depends/packages/qt.mk
index 8b5bfa6895..3f7e1a2a02 100644
--- a/depends/packages/qt.mk
+++ b/depends/packages/qt.mk
@@ -172,8 +172,6 @@ $(package)_config_opts_aarch64_android += -android-arch arm64-v8a
$(package)_config_opts_armv7a_android += -android-arch armeabi-v7a
$(package)_config_opts_x86_64_android += -android-arch x86_64
$(package)_config_opts_i686_android += -android-arch i686
-
-$(package)_build_env += QT_RCC_SOURCE_DATE_OVERRIDE=1
endef
define $(package)_fetch_cmds