aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-multimedia/webp
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen3/recipes-multimedia/webp')
-rw-r--r--meta-rcar-gen3/recipes-multimedia/webp/libwebp/disabled_arm_neon.diff12
-rw-r--r--meta-rcar-gen3/recipes-multimedia/webp/libwebp_%.bbappend5
2 files changed, 17 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-multimedia/webp/libwebp/disabled_arm_neon.diff b/meta-rcar-gen3/recipes-multimedia/webp/libwebp/disabled_arm_neon.diff
new file mode 100644
index 0000000..80b1811
--- /dev/null
+++ b/meta-rcar-gen3/recipes-multimedia/webp/libwebp/disabled_arm_neon.diff
@@ -0,0 +1,12 @@
+diff --git a/src/dsp/dsp.h b/src/dsp/dsp.h
+index 95f1ce0..fc20ffe 100644
+--- a/src/dsp/dsp.h
++++ b/src/dsp/dsp.h
+@@ -73,7 +73,6 @@ extern "C" {
+ // inline assembly would need to be modified for use with Native Client.
+ #if (defined(__ARM_NEON__) || defined(WEBP_ANDROID_NEON) || \
+ defined(__aarch64__)) && !defined(__native_client__)
+-#define WEBP_USE_NEON
+ #endif
+
+ #if defined(_MSC_VER) && _MSC_VER >= 1700 && defined(_M_ARM)
diff --git a/meta-rcar-gen3/recipes-multimedia/webp/libwebp_%.bbappend b/meta-rcar-gen3/recipes-multimedia/webp/libwebp_%.bbappend
new file mode 100644
index 0000000..e9469ed
--- /dev/null
+++ b/meta-rcar-gen3/recipes-multimedia/webp/libwebp_%.bbappend
@@ -0,0 +1,5 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+# Add W/A patch for linaro gcc.
+# This patch disabled neon. (undefined #WEBP_USE_NEON)
+SRC_URI_append = " file://disabled_arm_neon.diff"