Blob Blame History Raw
diff -ur qtwebengine-opensource-src-5.9.0/src/core/config/linux.pri qtwebengine-opensource-src-5.9.0-arm-fpu-fix/src/core/config/linux.pri
--- qtwebengine-opensource-src-5.9.0/src/core/config/linux.pri	2017-05-19 06:22:04.000000000 +0200
+++ qtwebengine-opensource-src-5.9.0-arm-fpu-fix/src/core/config/linux.pri	2017-06-13 14:51:26.986633933 +0200
@@ -41,7 +41,7 @@
     !isEmpty(TOOLCHAIN_SYSROOT): gn_args += target_sysroot=\"$${TOOLCHAIN_SYSROOT}\"
 }
 
-contains(QT_ARCH, "arm"):!host_build {
+contains(QT_ARCH, "arm") {
     # Extract ARM specific compiler options that we have to pass to gn,
     # but let gn figure out a default if an option is not present.
     MTUNE = $$extractCFlag("-mtune=.*")
@@ -64,6 +64,7 @@
         gn_args += arm_use_neon=true
     } else {
         MFPU = $$extractCFlag("-mfpu=.*")
+        !isEmpty(MFPU): gn_args += arm_fpu=\"$$MFPU\"
         !isEmpty(MFPU):contains(MFPU, ".*neon.*") {
             gn_args += arm_use_neon=true
         } else {