diff options
author | Lukas Larsson <[email protected]> | 2014-11-26 11:55:26 +0100 |
---|---|---|
committer | Marcus Arendt <[email protected]> | 2014-11-28 16:40:18 +0100 |
commit | 04c8809142306b8b2c617b1e0d8c005b2099be48 (patch) | |
tree | 6f70e8a6b0d7171b8aef4c9d75ed7e5043667d80 | |
parent | 7ee7b013bc5d7f045c5d8d8d63125fb3bdbb6b98 (diff) | |
download | otp-04c8809142306b8b2c617b1e0d8c005b2099be48.tar.gz otp-04c8809142306b8b2c617b1e0d8c005b2099be48.tar.bz2 otp-04c8809142306b8b2c617b1e0d8c005b2099be48.zip |
Sort keys before generating
This has to be done in order to consistently generate the same
file so that we do not get rebuilds all the time.
-rwxr-xr-x | erts/emulator/utils/make_compiler_flags | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/utils/make_compiler_flags b/erts/emulator/utils/make_compiler_flags index cebe8cd0c5..ca1bc47113 100755 --- a/erts/emulator/utils/make_compiler_flags +++ b/erts/emulator/utils/make_compiler_flags @@ -70,7 +70,7 @@ my($prog) = $prog[$#prog]; print "/* Warning: Do not edit this file.\n"; print " Auto-generated by '$prog'.*/\n"; -foreach(keys %constants) { +foreach (sort(keys %constants)) { print "const char* erts_build_flags_$_ = \"$constants{$_}\";\n" } |