aboutsummaryrefslogtreecommitdiff
path: root/contrib/guix/libexec
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 /contrib/guix/libexec
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 'contrib/guix/libexec')
-rwxr-xr-xcontrib/guix/libexec/build.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/guix/libexec/build.sh b/contrib/guix/libexec/build.sh
index e95617e2e2..ba83ae1ce5 100755
--- a/contrib/guix/libexec/build.sh
+++ b/contrib/guix/libexec/build.sh
@@ -175,7 +175,6 @@ case "$HOST" in
esac
# Environment variables for determinism
-export QT_RCC_SOURCE_DATE_OVERRIDE=1
export TAR_OPTIONS="--owner=0 --group=0 --numeric-owner --mtime='@${SOURCE_DATE_EPOCH}' --sort=name"
export TZ="UTC"
case "$HOST" in