[gnome-build-meta/lle-bout/ppc64le: 2/3] Add ppc64le in project.conf



commit 23638719967f0b9bd1814e246c9a2efdbe6e2904
Author: Leo Le Bouter <lle-bout zaclys net>
Date:   Wed Jul 8 00:10:43 2020 +0000

    Add ppc64le in project.conf

 project.conf | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/project.conf b/project.conf
index e0cf6ab4..8c6b4168 100644
--- a/project.conf
+++ b/project.conf
@@ -31,6 +31,7 @@ options:
     - aarch64
     - i686
     - x86_64
+    - ppc64le
 
 
 # Source aliases.
@@ -94,6 +95,10 @@ environment:
       CFLAGS: "%{flags_aarch64}"
       CXXFLAGS: "%{flags_aarch64}"
       LDFLAGS: "%{ldflags_defaults}"
+  - arch == "ppc64le":
+      CFLAGS: "%{flags_ppc64le}"
+      CXXFLAGS: "%{flags_ppc64le}"
+      LDFLAGS: "%{ldflags_defaults}"
 
 # Some overrides to element configuration based on type
 #
@@ -223,6 +228,7 @@ variables:
   flags_i686: "-march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign %{common_flags} 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection %{local_flags}"
   flags_aarch64: "%{common_flags} -fasynchronous-unwind-tables -fstack-clash-protection %{local_flags}"
   flags_arm: "%{common_flags} %{local_flags}"
+  flags_ppc64le: "%{common_flags} %{local_flags}"
   ldflags_defaults: "-Wl,-z,relro,-z,now -Wl,--as-needed -L%{libdir}"
   local_flags: ''
 


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