[gnome-build-meta/mcatanzaro/sse2: 14/14] Add SSE2 build flags



commit cc342b171eb3bbb707326210b2828c435c77efc3
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Sun Apr 14 14:17:12 2019 -0500

    Add SSE2 build flags
    
    To parallel:
    https://gitlab.com/freedesktop-sdk/freedesktop-sdk/merge_requests/1209

 project.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/project.conf b/project.conf
index b6f45cff..959cffa3 100644
--- a/project.conf
+++ b/project.conf
@@ -242,7 +242,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]