summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Scott Stone <tafoid@gmail.com>2016-09-26 06:24:31 -0400
committer Scott Stone <tafoid@gmail.com>2016-09-26 06:24:31 -0400
commit533fd78fc2e9113ab3a5260eaa5650ed44b2db02 (patch)
tree04ac593efe437c23ce3c53b20a337f026cb5b94a
parenta735e09f372573e51f02f206edf9eb6977ad9a7b (diff)
Adjusted toolchain.lua to allow DEBUG=1 builds to be modified by STRIP_SYMBOLS=1 (nw)
-rw-r--r--scripts/toolchain.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua
index fc19060a5c8..eda81695c45 100644
--- a/scripts/toolchain.lua
+++ b/scripts/toolchain.lua
@@ -1040,30 +1040,30 @@ function strip()
return true
end
- configuration { "osx-*", "Release" }
+ configuration { "osx-*" }
postbuildcommands {
"$(SILENT) echo Stripping symbols.",
"$(SILENT) " .. (_OPTIONS['TOOLCHAIN'] and toolchainPrefix) .. "strip \"$(TARGET)\"",
}
- configuration { "android-*", "Release" }
+ configuration { "android-*" }
postbuildcommands {
"$(SILENT) echo Stripping symbols.",
"$(SILENT) " .. toolchainPrefix .. "strip -s \"$(TARGET)\""
}
- configuration { "linux-* or rpi", "Release" }
+ configuration { "linux-* or rpi" }
postbuildcommands {
"$(SILENT) echo Stripping symbols.",
"$(SILENT) strip -s \"$(TARGET)\""
}
- configuration { "mingw*", "x64", "Release" }
+ configuration { "mingw*", "x64" }
postbuildcommands {
"$(SILENT) echo Stripping symbols.",
"$(SILENT) " .. (_OPTIONS['TOOLCHAIN'] or "$(MINGW64)/bin/") .. "strip -s \"$(TARGET)\"",
}
- configuration { "mingw*", "x32", "Release" }
+ configuration { "mingw*", "x32" }
postbuildcommands {
"$(SILENT) echo Stripping symbols.",
"$(SILENT) " .. (_OPTIONS['TOOLCHAIN'] or "$(MINGW32)/bin/") .. "strip -s \"$(TARGET)\"",