summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErlang/OTP <otp@erlang.org>2015-01-26 10:30:36 +0100
committerErlang/OTP <otp@erlang.org>2015-01-26 10:30:36 +0100
commite145ea506f898c03c21bc16d7a03c3d88cf5771d (patch)
tree6f70e8a6b0d7171b8aef4c9d75ed7e5043667d80
parent7ee7b013bc5d7f045c5d8d8d63125fb3bdbb6b98 (diff)
parent04c8809142306b8b2c617b1e0d8c005b2099be48 (diff)
downloaderlang-e145ea506f898c03c21bc16d7a03c3d88cf5771d.tar.gz
Merge branch 'marcus/16/fix-rebuild' into maint-r16
* marcus/16/fix-rebuild: Sort keys before generating
-rwxr-xr-xerts/emulator/utils/make_compiler_flags2
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"
}