On 23/09/2022 20:27, Joel Sherrill wrote:
On Fri, Sep 23, 2022 at 11:49 AM Sebastian Huber <[email protected] <mailto:[email protected]>> wrote:On 23/09/2022 18:47, Karel Gardas wrote: > 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 <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... I would like to have a reproducible build, so I don't want something which varies across builds. Why not just pass in a constant? You need it to be the same so waf reacts the same.
The GCC documentation says: The string should be different for every file you compile. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: [email protected] phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht München Registernummer: HRB 157899 Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler Unsere Datenschutzerklärung finden Sie hier: https://embedded-brains.de/datenschutzerklaerung/ _______________________________________________ devel mailing list [email protected] http://lists.rtems.org/mailman/listinfo/devel
