From e6fa5fb2ed770cae38545c38c4b921bb88785e3c Mon Sep 17 00:00:00 2001 From: Jamie Reece Wilson Date: Fri, 11 Aug 2023 13:40:05 +0100 Subject: [PATCH] [*] Update objcopy command --- Core/BuildHooks/BuildHooks.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/BuildHooks/BuildHooks.lua b/Core/BuildHooks/BuildHooks.lua index cf19a30..b51f6e7 100644 --- a/Core/BuildHooks/BuildHooks.lua +++ b/Core/BuildHooks/BuildHooks.lua @@ -67,7 +67,7 @@ local function addUserDestCopy(name, type, config, platformName, arch, dir) platform.devChainSupportsElfStrip and config ~= Aurora.Settings.sNameOfDebug) then local debugSymbolPath = normalizeCpyPath(Aurora.Settings.sAbsSymbols) .. "/" .. name .. ".dwarf" - postbuildcommands("objcopy --strip-debug --strip-unneeded --strip-symbol \"" .. file .. "\" \"" .. outputPath .. "\"") + postbuildcommands("objcopy --strip-debug --strip-unneeded \"" .. file .. "\" \"" .. outputPath .. "\"") if (Aurora.Settings.bUseAuBuildHooks and config ~= Aurora.Settings.sNameOfShip) then postbuildcommands("objcopy --add-gnu-debuglink=\"" .. debugSymbolPath .. "\" \"" .. outputPath .. "\"") end