From 533fd78fc2e9113ab3a5260eaa5650ed44b2db02 Mon Sep 17 00:00:00 2001 From: Scott Stone Date: Mon, 26 Sep 2016 06:24:31 -0400 Subject: [PATCH] Adjusted toolchain.lua to allow DEBUG=1 builds to be modified by STRIP_SYMBOLS=1 (nw) --- scripts/toolchain.lua | 10 +++++----- 1 file 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)\"",