summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-04-22 14:23:49 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-04-22 14:23:49 +0200
commit3827f898ab9e2693ba3d85a585928987f5566c86 (patch)
treea3e0fb8faf47e184b652f1becfb63489794b499b /scripts/genie.lua
parent98297ad03d3a015bf9bbbf62c5e2086225efd22d (diff)
Renamed to STRIP_SYMBOLS and made logic more clear (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index 019b4486c0c..37bd81c12df 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -288,11 +288,11 @@ newoption {
}
newoption {
- trigger = "NO_STRIPPING",
- description = "Stripping.",
+ trigger = "STRIP_SYMBOLS",
+ description = "Symbols stripping.",
allowed = {
- { "0", "Enabled" },
- { "1", "Disabled" },
+ { "0", "Disabled" },
+ { "1", "Enabled" },
}
}
@@ -1148,7 +1148,7 @@ else
end
mainProject(_OPTIONS["target"],_OPTIONS["subtarget"])
-if (_OPTIONS["NO_STRIPPING"]~="1") then
+if (_OPTIONS["STRIP_SYMBOLS"]== nil or _OPTIONS["STRIP_SYMBOLS"]=="1") then
strip()
end