]> git.pld-linux.org Git - packages/xine-ui.git/blob - xine-ui-opt.patch
- removed obsolete patches: DESTDIR,ac_am,dfb,no_corba
[packages/xine-ui.git] / xine-ui-opt.patch
1 --- xine-ui-0.9.19/configure.ac.orig    Sun Apr 13 13:57:32 2003
2 +++ xine-ui-0.9.19/configure.ac Sun Apr 13 14:00:18 2003
3 @@ -627,7 +627,7 @@
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"
8 +       CFLAGS="$CFLAGS -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"
9         DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
10         
11         dnl enable x86 specific parts of the code
12 @@ -682,19 +682,19 @@
13  
14    alphaev56-*)
15      AC_DEFINE(__alpha__,1,[Define this if you're running Alpha architecture])
16 -    CFLAGS="$CFLAGS -O3 -mcpu=ev56 -mieee"
17 +    CFLAGS="$CFLAGS -mcpu=ev56 -mieee"
18      DEBUG_CFLAGS="$DEBUG_CFLAGS -O -mcpu=ev56 -mieee"
19      ;;
20  
21    alpha*)
22      AC_DEFINE(__alpha__,1,[Define this if you're running Alpha architecture])
23 -    CFLAGS="$CFLAGS -O3 -mieee"
24 +    CFLAGS="$CFLAGS -mieee"
25      DEBUG_CFLAGS="$DEBUG_CFLAGS -O -mieee"
26      ;;
27  
28    ppc-*-linux-* | powerpc-*) 
29      AC_DEFINE(__ppc__,1,[Define this if you're running PowerPC architecture])
30 -    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"
31 +    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"
32      DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
33      ;;
34  
35 @@ -702,31 +702,25 @@
36      AC_DEFINE(__sparc,1,[Define this if you're running Sparc architecture])
37  
38      if test "$GCC" = yes; then
39 -       CFLAGS="$CFLAGS -O3"
40         DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
41      else
42 -       CFLAGS="$CFLAGS -O"
43         DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
44      fi
45      ;;
46  
47    mips-*)
48 -    CFLAGS="$CFLAGS -O3"
49      DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
50      ;;
51  
52    m68k-*)
53 -    CFLAGS="$CFLAGS -O2"
54      DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
55      ;;
56  
57    ia64-*)
58 -    CFLAGS="$CFLAGS -O3"
59      DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
60      ;;
61  
62    s390-*)
63 -    CFLAGS="$CFLAGS -O3"
64      DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
65      ;;
66  
67 @@ -736,7 +730,7 @@
68      echo
69      echo "Host type '$host' ($host_alias) is currently not supported by xine"
70      echo
71 -    echo "Assuming that -O3 makes the compiler produce useful code."
72 +    echo "Assuming that $CFLAGS makes the compiler produce useful code."
73      echo
74      echo "You might experience problems with this, so please report your"
75      echo "architecture and, if possible, known good optimization flags for"
76 @@ -746,7 +740,6 @@
77      echo "\a(sleeping one minute so you can read this...)"
78      sleep 60
79  
80 -    CFLAGS="$CFLAGS -O3"
81      DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
82      ;;
83  esac
This page took 0.081299 seconds and 3 git commands to generate.