Skip to content

Commit 49cfa4c

Browse files
Preserve file modification time when stripping debug symbols
1 parent 4087d74 commit 49cfa4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/extract-debug-symbols.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ for input in $inputs ; do
2424
fi
2525

2626
# Add a hint for the debugger so it can find the debug info
27-
$OBJCOPY --remove-section=.gnu_debuglink "$input"
27+
$OBJCOPY --preserve-dates --remove-section=.gnu_debuglink "$input"
2828
$OBJCOPY --preserve-dates --add-gnu-debuglink="$output" "$input"
2929
done
3030

0 commit comments

Comments
 (0)