[gnome-build-meta/abderrahim/native-build: 1/2] project.conf: set the sandbox architecture




commit 65cc7acbbead5cb8d18172d217ad612bbea5a792
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 647ce42c..9ac8661d 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
@@ -101,6 +101,9 @@ environment:
       CXXFLAGS: "%{flags_ppc64le}"
       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]