summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-11-06 14:06:58 +0000
committerattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-11-06 14:06:58 +0000
commit87e2b02f7ab91fe5855d5010e5280226f3627bc6 (patch)
treea94696525509064cb12501185ef2839a957f0fd5 /configure
parentcc057549fbcc1044791a4b48f7da715fa96e4164 (diff)
downloadmpv-87e2b02f7ab91fe5855d5010e5280226f3627bc6.tar.bz2
mpv-87e2b02f7ab91fe5855d5010e5280226f3627bc6.tar.xz
PPC: make inline asm xform address test work with Apple tools
original from mru, ffmpeg commit r20466 adapted to mplayer by Emanuele Giaquinta (exg) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29834 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 5501ee19d9..9c85f6116d 100755
--- a/configure
+++ b/configure
@@ -2681,7 +2681,7 @@ def_xform_asm='#define HAVE_XFORM_ASM 0'
xform_asm=no
echocheck "XFORM ASM support"
cat > $TMPC << EOF
-int main(void) { __asm__ volatile ("lwzx 0, %y0" :: "Z"(*(int*)0)); return 0; }
+int main(void) { __asm__ volatile ("lwzx %1, %y0" :: "Z"(*(int*)0), "r"(0)); return 0; }
EOF
cc_check && xform_asm=yes && def_xform_asm='#define HAVE_XFORM_ASM 1'
echores "$xform_asm"