[gnome-build-meta/mcatanzaro/webkit-2-24-1: 1/2] project.conf: Add more build flags for i686



commit 0af82f88f1251343c7d6c9f942b83946627b886c
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Tue Apr 9 09:50:01 2019 -0500

    project.conf: Add more build flags for i686
    
    Fedora builds all i686 packages with -msse2 -mfpmath=sse and
    -mstackrealign. At least -msse2 is needed to build WebKitGTK 2.24.1.
    
    We should probably upstream these flags to freedesktop-sdk, of course.

 project.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/project.conf b/project.conf
index ed5e6329..8e0a238f 100644
--- a/project.conf
+++ b/project.conf
@@ -238,7 +238,7 @@ variables:
   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 %{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}"
   ldflags_defaults: "-Wl,-z,relro,-z,now -Wl,--as-needed -L%{libdir}"


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