[gnome-build-meta/nanonyme/local-flags] Local flags overriding based on what freedesktop-sdk has



commit 25f6d30c6b34e762491eae245003bb23553fb046
Author: Seppo Yli-Olli <seppo yliolli gmail com>
Date:   Thu May 28 21:51:27 2020 +0300

    Local flags overriding based on what freedesktop-sdk has

 project.conf | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/project.conf b/project.conf
index b3eee880..985212b0 100644
--- a/project.conf
+++ b/project.conf
@@ -219,11 +219,12 @@ variables:
   indep-libdir: "%{prefix}/lib"
   debugdir: "%{indep-libdir}/debug"
   common_flags: "-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions 
-fstack-protector-strong -grecord-gcc-switches"
-  flags_x86_64: "-march=x86-64 -mtune=generic %{common_flags} -fasynchronous-unwind-tables 
-fstack-clash-protection -fcf-protection"
-  flags_i686: "-march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign %{common_flags} 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection"
-  flags_aarch64: "%{common_flags} -fasynchronous-unwind-tables -fstack-clash-protection"
-  flags_arm: "%{common_flags}"
+  flags_x86_64: "-march=x86-64 -mtune=generic %{common_flags} -fasynchronous-unwind-tables 
-fstack-clash-protection -fcf-protection %{local_flags}"
+  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}"
   ldflags_defaults: "-Wl,-z,relro,-z,now -Wl,--as-needed -L%{libdir}"
+  local_flags: ''
 
   (?):
   - arch == "i686":


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