summaryrefslogtreecommitdiff
path: root/packages/libxine/libxine-fb/libxine-arm-configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libxine/libxine-fb/libxine-arm-configure.patch')
-rw-r--r--packages/libxine/libxine-fb/libxine-arm-configure.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/libxine/libxine-fb/libxine-arm-configure.patch b/packages/libxine/libxine-fb/libxine-arm-configure.patch
new file mode 100644
index 0000000000..fa80ea6b13
--- /dev/null
+++ b/packages/libxine/libxine-fb/libxine-arm-configure.patch
@@ -0,0 +1,18 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- xine-lib-1-rc7/configure.ac~libxine-arm-configure.patch
++++ xine-lib-1-rc7/configure.ac
+@@ -1810,8 +1810,8 @@
+ AC_DEFINE_UNQUOTED(FPM_DEFAULT,,[Define to select libmad fixed point arithmetic implementation])
+ ;;
+
+- armv4l-*-linux*)
+- CFLAGS="-O2 -fsigned-char -ffast-math -mcpu=strongarm1100 -fomit-frame-pointer -fthread-jumps -fregmove $CFLAGS"
++ arm-*-linux*)
++ CFLAGS="-O2 -fsigned-char -ffast-math -march=armv4 -mtune=xscale -fomit-frame-pointer -fthread-jumps -fregmove $CFLAGS"
+ dnl CFLAGS="-O1 -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -finline-functions -fsigned-char -fomit-frame-pointer -march=armv4 -mtune=strongarm $CFLAGS"
+ DEBUG_CFLAGS="-O2 $DEBUG_CFLAGS"
+ AC_DEFINE_UNQUOTED(FPM_ARM,,[Define to select libmad fixed point arithmetic implementation])