Skip to content

Commit

Permalink
gcc: always set the random seed for gcc builds
Browse files Browse the repository at this point in the history
  • Loading branch information
terpstra committed Jan 24, 2019
1 parent 0ccc88b commit 8d99124
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions share/wake/lib/system/gcc.wake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
def c11Flags = ("-std=c++11", Nil)
def debugCFlags = ("-Wall", "-Wextra", "-O0", "-g", "-pg", Nil)
def debugCFlags = ("-frandom-seed=42", "-Wall", "-Wextra", "-O0", "-g", "-pg", Nil)
def debugLFlags = ("-g", "-pg", Nil)
def releaseCFlags = ("-Wall", "-O2", "-flto", Nil)
def releaseCFlags = ("-frandom-seed=42", "-Wall", "-O2", "-flto", Nil)
def releaseLFlags = ("-flto", Nil)

def doCompileC variant gcc flags headers file =
Expand Down

0 comments on commit 8d99124

Please sign in to comment.