aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/x264/files/patch-configure
blob: 52e8e621795f3d4b61797bb58f9cd7633eabd1b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- configure.orig  Thu Apr 21 11:04:21 2005
+++ configure   Fri Apr 22 16:01:23 2005
@@ -22,8 +22,8 @@
 debug="no"
 vfw="no"
 
-CC="gcc"
-CFLAGS="-Wall -I. -O4 -funroll-loops -ffast-math -D__X264__"
+#CC="gcc"
+CFLAGS="-Wall -I. -D__X264__"
 LDFLAGS=""
 
 AS="nasm"
@@ -75,7 +75,7 @@
     ARCH="X86"
     CFLAGS="$CFLAGS -DHAVE_MMXEXT -DHAVE_SSE2"
     ;;
-  x86_64)
+  x86_64 | amd64)
     ARCH="X86_64"
     CFLAGS="$CFLAGS -DHAVE_MMXEXT -DHAVE_SSE2"
     AS="yasm"
@@ -89,6 +89,10 @@
     else
       CFLAGS="$CFLAGS -maltivec -mabi=altivec"
     fi
+    ;;
+  "Sparc64" | sparc64)
+    ARCH="SPARC64"
+    CFLAGS="$CFLAGS"
     ;;
   *)
     echo "Unknown platform $UNAMEM, edit the configure"