[gnome-build-meta/juerg/strip-variables: 67/70] project.conf: Copy over variables needed for strip-commands



commit c1b3ddacd0b7bffa47839c1cb97e2ef54a7088c5
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 b6f45cff..c192fcdf 100644
--- a/project.conf
+++ b/project.conf
@@ -253,6 +253,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]