]> git.pld-linux.org Git - packages/xine-ui.git/blame - xine-ui-opt.patch
- updated opt patch is back (-O3, -finline-functions, -funroll-loops aren't good
[packages/xine-ui.git] / xine-ui-opt.patch
CommitLineData
9ab02642
JB
1--- xine-ui-0.9.21/configure.ac.orig 2003-05-20 21:00:16.000000000 +0200
2+++ xine-ui-0.9.21/configure.ac 2003-05-20 21:12:06.000000000 +0200
3@@ -634,8 +634,7 @@
6296ad9f
JB
4 AC_TRY_CFLAGS("$sarchopt=athlon", k7cpu="athlon", k7cpu="i686")
5
6 dnl add x86 specific CFLAGS
7- CFLAGS="$CFLAGS -O3 -pipe -fomit-frame-pointer $f_af $f_al $f_aj $m_wm $m_psb -fexpensive-optimizations $f_si $f_nsa -ffast-math -funroll-loops -finline-functions"
9ab02642
JB
8- DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
9+ CFLAGS="$CFLAGS -pipe -fomit-frame-pointer $f_af $f_al $f_aj $m_wm $m_psb -fexpensive-optimizations $f_si $f_nsa -ffast-math"
6296ad9f
JB
10
11 dnl enable x86 specific parts of the code
9ab02642
JB
12
13@@ -670,17 +669,9 @@
14 archopt_val=athlon ;;
15 esac
16
17- if test x"$archopt_val" != x; then
18- CFLAGS="$CFLAGS $sarchopt=$archopt_val"
19- DEBUG_CFLAGS="$DEBUG_CFLAGS $sarchopt=$archopt_val"
20- fi
21 ]
22 fi
23
24- else
25- dnl add x86 specific cc CFLAGS
26- CFLAGS="$CFLAGS -O"
27- DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
28 fi
29
30 AC_DEFINE(__i386__,1,[Define this if you're running x86 architecture])
31@@ -689,57 +680,39 @@
6296ad9f
JB
32
33 alphaev56-*)
34 AC_DEFINE(__alpha__,1,[Define this if you're running Alpha architecture])
35- CFLAGS="$CFLAGS -O3 -mcpu=ev56 -mieee"
9ab02642 36- DEBUG_CFLAGS="$DEBUG_CFLAGS -O -mcpu=ev56 -mieee"
6296ad9f 37+ CFLAGS="$CFLAGS -mcpu=ev56 -mieee"
9ab02642 38+ DEBUG_CFLAGS="$DEBUG_CFLAGS -mcpu=ev56 -mieee"
6296ad9f
JB
39 ;;
40
41 alpha*)
42 AC_DEFINE(__alpha__,1,[Define this if you're running Alpha architecture])
43- CFLAGS="$CFLAGS -O3 -mieee"
9ab02642 44- DEBUG_CFLAGS="$DEBUG_CFLAGS -O -mieee"
6296ad9f 45+ CFLAGS="$CFLAGS -mieee"
9ab02642 46+ DEBUG_CFLAGS="$DEBUG_CFLAGS -mieee"
6296ad9f
JB
47 ;;
48
49 ppc-*-linux-* | powerpc-*)
50 AC_DEFINE(__ppc__,1,[Define this if you're running PowerPC architecture])
51- CFLAGS="$CFLAGS -O3 -pipe -fomit-frame-pointer $m_wm $m_psb -fexpensive-optimizations $f_si $f_nsa -ffast-math -funroll-loops -funroll-all-loops -finline-functions"
9ab02642 52- DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
6296ad9f 53+ CFLAGS="$CFLAGS -pipe -fomit-frame-pointer $m_wm $m_psb -fexpensive-optimizations $f_si $f_nsa -ffast-math -funroll-loops -funroll-all-loops -finline-functions"
6296ad9f
JB
54 ;;
55
9ab02642 56 sparc64-*-linux-* | sparc-*)
6296ad9f
JB
57 AC_DEFINE(__sparc,1,[Define this if you're running Sparc architecture])
58
9ab02642 59- if test "$GCC" = yes; then
6296ad9f 60- CFLAGS="$CFLAGS -O3"
9ab02642
JB
61- DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
62- else
6296ad9f 63- CFLAGS="$CFLAGS -O"
9ab02642
JB
64- DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
65- fi
6296ad9f
JB
66 ;;
67
68 mips-*)
69- CFLAGS="$CFLAGS -O3"
9ab02642 70- DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
6296ad9f
JB
71 ;;
72
73 m68k-*)
74- CFLAGS="$CFLAGS -O2"
9ab02642 75- DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
6296ad9f
JB
76 ;;
77
78 ia64-*)
79- CFLAGS="$CFLAGS -O3"
9ab02642
JB
80- DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
81 ;;
82
83 hppa*-hp-*)
84- CFLAGS="$CFLAGS -O2"
85- DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
6296ad9f
JB
86 ;;
87
88 s390-*)
89- CFLAGS="$CFLAGS -O3"
9ab02642 90- DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
6296ad9f
JB
91 ;;
92
9ab02642
JB
93 *)
94@@ -755,11 +728,6 @@
95 echo "your compiler to <xine-devel@lists.sf.net>"\!
6296ad9f 96 echo
9ab02642
JB
97 echo "*********************************************************************"
98- echo "\a(sleeping one minute so you can read this...)"
99- sleep 60
100-
6296ad9f 101- CFLAGS="$CFLAGS -O3"
9ab02642 102- DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
6296ad9f
JB
103 ;;
104 esac
9ab02642 105
This page took 0.115682 seconds and 4 git commands to generate.