Skip to content

Commit

Permalink
darwin: do not use -mdynamic-no-pic
Browse files Browse the repository at this point in the history
While -mdynamic-no-pic can speed up the code somewhat, it is only used
on the legacy PowerPC Mac OS X, and I am not sure if anyone is still
testing that.  Disabling PIC can cause problems when enabling modules,
so do not do that.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
bonzini committed Feb 20, 2014
1 parent 6ebc91e commit 13b6ce0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions configure
Expand Up @@ -518,8 +518,6 @@ Darwin)
if [ "$cpu" = "x86_64" ] ; then
QEMU_CFLAGS="-arch x86_64 $QEMU_CFLAGS"
LDFLAGS="-arch x86_64 $LDFLAGS"
else
QEMU_CFLAGS="-mdynamic-no-pic $QEMU_CFLAGS"
fi
cocoa="yes"
audio_drv_list="coreaudio"
Expand Down

0 comments on commit 13b6ce0

Please sign in to comment.