aboutsummaryrefslogtreecommitdiff
path: root/multimedia/x264-devel/files/patch-configure
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-04-23 18:27:20 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-04-23 18:27:20 +0000
commit8c070080b064b1cbc187534de8e23623dedcf779 (patch)
tree4394a2c96714819108dfc42b869f2e72044b87e6 /multimedia/x264-devel/files/patch-configure
parent00f135f95076920fa5e940546c15a623ff79d467 (diff)
- Attempt to fix build on amd64 by disabling MMX/SSE code.
gcc complains that -fPIC is needed to link the shared lib, but I have no idea how to do this with yasm? with out disabling the shared library and just making a static library. Pointed out by: krismail
Notes
Notes: svn path=/head/; revision=134017
Diffstat (limited to 'multimedia/x264-devel/files/patch-configure')
-rw-r--r--multimedia/x264-devel/files/patch-configure14
1 files changed, 9 insertions, 5 deletions
diff --git a/multimedia/x264-devel/files/patch-configure b/multimedia/x264-devel/files/patch-configure
index 52e8e621795f..99971cf99d35 100644
--- a/multimedia/x264-devel/files/patch-configure
+++ b/multimedia/x264-devel/files/patch-configure
@@ -1,5 +1,5 @@
---- configure.orig Thu Apr 21 11:04:21 2005
-+++ configure Fri Apr 22 16:01:23 2005
+--- configure.orig Thu Apr 21 05:04:21 2005
++++ configure Sat Apr 23 14:26:33 2005
@@ -22,8 +22,8 @@
debug="no"
vfw="no"
@@ -11,15 +11,19 @@
LDFLAGS=""
AS="nasm"
-@@ -75,7 +75,7 @@
+@@ -75,9 +75,9 @@
ARCH="X86"
CFLAGS="$CFLAGS -DHAVE_MMXEXT -DHAVE_SSE2"
;;
- x86_64)
+- ARCH="X86_64"
+- CFLAGS="$CFLAGS -DHAVE_MMXEXT -DHAVE_SSE2"
+ x86_64 | amd64)
- ARCH="X86_64"
- CFLAGS="$CFLAGS -DHAVE_MMXEXT -DHAVE_SSE2"
++ ARCH="amd64"
++ CFLAGS="$CFLAGS"
AS="yasm"
+ ASFLAGS="-f elf -m amd64"
+ ;;
@@ -89,6 +89,10 @@
else
CFLAGS="$CFLAGS -maltivec -mabi=altivec"