aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2014-12-02 09:48:07 +0100
committerLukas Larsson <[email protected]>2014-12-02 09:48:07 +0100
commitda2f55033549878a2cfe19067c210f1d3cc113ce (patch)
tree170ce1797ab501225cf84400d8aabf5e625a36b0
parent6d460b92cae778427916a7f6c22b2f59f4b411d8 (diff)
parent877523d94b66daac4212cb2ddf8148c2c1e404cd (diff)
downloadotp-da2f55033549878a2cfe19067c210f1d3cc113ce.tar.gz
otp-da2f55033549878a2cfe19067c210f1d3cc113ce.tar.bz2
otp-da2f55033549878a2cfe19067c210f1d3cc113ce.zip
Merge branch 'maint'
* maint: 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"
}