How can I use the GCC -frandom-seed=<file name> option with the waf build system?

Karel Gardas karel at functional.vision
Fri Sep 23 16:47:43 UTC 2022


On 9/23/22 18:35, Sebastian Huber wrote:
> Hello,
> 
> I have a question for the waf experts. How can I use the GCC 
> -frandom-seed=<file name> option with the waf build system?
> 
> https://stackoverflow.com/questions/73829827/how-can-i-use-the-gcc-frandom-seed-file-name-option-with-the-waf-build-system 

Unix? Why not to use pure and simple -frandom-seed=$RANDOM ? E.g. I hope 
you'd like to have something there hence went for file name which will 
give you stable "random" value per every file compiled while $RANDOM 
will give you more randomness and certainly not the same value per same 
file...

Karel





More information about the devel mailing list