From b3502c5d8753002a93abfe43fef53299c04f2f0f Mon Sep 17 00:00:00 2001 From: Maximilian Weiler <16721506+maweil@users.noreply.github.com> Date: Tue, 3 Dec 2024 18:10:20 +0100 Subject: [PATCH] fix: Fill random seed with individual filenames - The frandom-seed value should be different for each compiled file - see for details --- cross_build_w64.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cross_build_w64.sh b/cross_build_w64.sh index 2d66bed..8f97950 100755 --- a/cross_build_w64.sh +++ b/cross_build_w64.sh @@ -23,7 +23,7 @@ mkdir -p install_target echo "##########################################" echo "Building $make_version for $host_triplet" echo "##########################################" -mingw64-configure --without-guile LDFLAGS='-Wl,--no-insert-timestamp' CFLAGS='-frandom-seed=123456789' +mingw64-configure --without-guile LDFLAGS='-Wl,--no-insert-timestamp' CFLAGS='-frandom-seed=$@' mingw64-make && mv make.exe ./dist if [[ $? -eq 0 ]]