Skip to content

Commit

Permalink
fix: Fill random seed with individual filenames
Browse files Browse the repository at this point in the history
- The frandom-seed value should be different for each compiled file
- see <https://gcc.gnu.org/onlinedocs/gcc/Developer-Options.html> for details
  • Loading branch information
maweil committed Dec 3, 2024
1 parent 05b6baf commit b3502c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cross_build_w64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]]
Expand Down

0 comments on commit b3502c5

Please sign in to comment.