[gnome-build-meta/juerg/strip-variables: 4/4] project.conf: Copy over variables needed for strip-commands
- From: Javier Jardón Cabezas <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/juerg/strip-variables: 4/4] project.conf: Copy over variables needed for strip-commands
- Date: Sat, 9 Feb 2019 23:55:08 +0000 (UTC)
commit df121366e611e4abe86bd69b3ca950dde4fbbce1
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 f58862eb..5d6d8902 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]