aboutsummaryrefslogtreecommitdiff
path: root/multimedia/x264/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/x264/files/patch-configure')
-rw-r--r--multimedia/x264/files/patch-configure22
1 files changed, 22 insertions, 0 deletions
diff --git a/multimedia/x264/files/patch-configure b/multimedia/x264/files/patch-configure
new file mode 100644
index 000000000000..a45657d39c73
--- /dev/null
+++ b/multimedia/x264/files/patch-configure
@@ -0,0 +1,22 @@
+--- configure.orig Thu Apr 21 08:03:47 2005
++++ configure Thu Apr 21 08:08:16 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"