Mercurial > mplayer.hg
changeset 29792:c2dde95d9850
PPC: make inline asm xform address test work with Apple tools
original from mru, ffmpeg commit r20466
adapted to mplayer by Emanuele Giaquinta (exg)
author | attila |
---|---|
date | Fri, 06 Nov 2009 14:06:58 +0000 |
parents | 1f0ac5166602 |
children | e19b989877c6 |
files | configure |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Fri Nov 06 12:30:56 2009 +0000 +++ b/configure Fri Nov 06 14:06:58 2009 +0000 @@ -2681,7 +2681,7 @@ 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"