[gnome-build-meta/abderrahim/simplify-publish: 2/4] project.conf: set the sandbox architecture



commit e953b41976f96cad693af4298c76a83bd6e9def7
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Mon May 18 13:00:07 2020 +0100

    project.conf: set the sandbox architecture
    
    this allows arm and i686 builds to behave as native builds rather than
    cross-compilation

 project.conf | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/project.conf b/project.conf
index b3eee880..f805d2c6 100644
--- a/project.conf
+++ b/project.conf
@@ -2,7 +2,7 @@
 name: gnome
 
 # The minimum base BuildStream format
-format-version: 14
+format-version: 18
 
 # Where elements are stored
 element-path: elements
@@ -95,6 +95,9 @@ environment:
       CXXFLAGS: "%{flags_aarch64}"
       LDFLAGS: "%{ldflags_defaults}"
 
+sandbox:
+  build-arch: '%{arch}'
+
 # Some overrides to element configuration based on type
 #
 # Here we can set a project wide options for various build systems,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]