diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-05-11 01:00:45 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2014-05-11 01:00:45 (GMT) |
commit | 34cc81413a56f00905e0a4532c52b608e0455fb4 (patch) | |
tree | b7de73ec76b47b9df9a898d2436bfbe3dc4fd11b | |
parent | 1eadfb66ec7180c964a7c2cd2308822afebb3e94 (diff) | |
download | mxe-34cc81413a56f00905e0a4532c52b608e0455fb4.zip mxe-34cc81413a56f00905e0a4532c52b608e0455fb4.tar.gz mxe-34cc81413a56f00905e0a4532c52b608e0455fb4.tar.bz2 |
Fix gst-plugins-base with GCC 4.9
Similar to 79c52845c3df332649cb3c98e0aae0720a56fb61. Fixes #406.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
-rw-r--r-- | src/gst-plugins-base-1-intrinsics.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/gst-plugins-base-1-intrinsics.patch b/src/gst-plugins-base-1-intrinsics.patch new file mode 100644 index 0000000..f5f01db --- /dev/null +++ b/src/gst-plugins-base-1-intrinsics.patch @@ -0,0 +1,29 @@ +From 50e29104baadb7bd536cd75dce964743ff04518c Mon Sep 17 00:00:00 2001 +From: Timothy Gu <timothygu99@gmail.com> +Date: Sat, 10 May 2014 17:48:40 -0700 +Subject: [PATCH] Add -msse2 for audioresample + +Needed with gcc 4.9. This will break non-x86 compilation -- I know. + +Signed-off-by: Timothy Gu <timothygu99@gmail.com> +--- + gst/audioresample/Makefile.am | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/gst/audioresample/Makefile.am b/gst/audioresample/Makefile.am +index 607115d..ae0056d 100644 +--- a/gst/audioresample/Makefile.am ++++ b/gst/audioresample/Makefile.am +@@ -17,7 +17,8 @@ libgstaudioresample_la_CFLAGS = \ + $(GST_PLUGINS_BASE_CFLAGS) \ + $(GST_BASE_CFLAGS) \ + $(GST_CFLAGS) \ +- $(ORC_CFLAGS) ++ $(ORC_CFLAGS) \ ++ -msse2 + + libgstaudioresample_la_LIBADD = \ + $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ +-- +1.9.1 + |