Sorry, didn't read closely enough. Looks like it's currently ignored: $ grep -n frandom_seed include/clang/Driver/Options.td 949:def frandom_seed_EQ : Joined<["-"], "frandom-seed=">, Group<clang_ignored_f_Group>;
http://reviews.llvm.org/D3391 On Mon, Aug 24, 2015 at 12:41 PM, Stephan Gatzka <stephan.gat...@gmail.com> wrote: > Well, > > that's not exactly what I meant. In gcc, if you use -flto a c file > compiled twice leads to different binaries, if you don't add > -frandom-seed=<something>. > > clang also supports the switch -frandom-seed=<something>, but the object > files produced by clang are always binary equal. > > Meanwhile I think clang intorduced -frandom-seed only for gcc > compatibility: > > https://github.com/llvm-mirror/clang/blob/master/include/clang/Driver/Options.td#L949 > > > But thanks for the hint. :) > > Regards, > > Stephan >
_______________________________________________ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users