[*] Update objcopy command
This commit is contained in:
parent
dbaaabeab8
commit
e6fa5fb2ed
@ -67,7 +67,7 @@ local function addUserDestCopy(name, type, config, platformName, arch, dir)
|
|||||||
platform.devChainSupportsElfStrip and
|
platform.devChainSupportsElfStrip and
|
||||||
config ~= Aurora.Settings.sNameOfDebug) then
|
config ~= Aurora.Settings.sNameOfDebug) then
|
||||||
local debugSymbolPath = normalizeCpyPath(Aurora.Settings.sAbsSymbols) .. "/" .. name .. ".dwarf"
|
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
|
if (Aurora.Settings.bUseAuBuildHooks and config ~= Aurora.Settings.sNameOfShip) then
|
||||||
postbuildcommands("objcopy --add-gnu-debuglink=\"" .. debugSymbolPath .. "\" \"" .. outputPath .. "\"")
|
postbuildcommands("objcopy --add-gnu-debuglink=\"" .. debugSymbolPath .. "\" \"" .. outputPath .. "\"")
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user