[gnome-build-meta/juerg/strip-variables: 79/82] project.conf: Copy over variables needed for strip-commands
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/juerg/strip-variables: 79/82] project.conf: Copy over variables needed for strip-commands
- Date: Thu, 21 Mar 2019 12:51:20 +0000 (UTC)
commit b0843ccb352f3967f3b0ebe15da3fa6007a86d6c
Author: Jürg Billeter <j bitron ch>
Date: Sat Feb 9 18:58:27 2019 +0100
project.conf: Copy over variables needed for strip-commands
They have been removed from BuildStream master.
https://gitlab.com/BuildStream/buildstream/merge_requests/987
https://gitlab.com/freedesktop-sdk/freedesktop-sdk/merge_requests/772
project.conf | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/project.conf b/project.conf
index f163e3b8..d2719df2 100644
--- a/project.conf
+++ b/project.conf
@@ -240,6 +240,16 @@ variables:
- arch == "arm":
abi: "gnueabihf"
+ # Arguments for tooling used when stripping debug symbols
+ objcopy-link-args: --add-gnu-debuglink
+ objcopy-extract-args: |
+
+ --only-keep-debug --compress-debug-sections
+
+ strip-args: |
+
+ --remove-section=.comment --remove-section=.note --strip-unneeded
+
# This should eventually done with buildstream includes
strip-binaries: |
touch source-files
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]