configure: Disable optimization on MacOS because of gcc bug.
This commit is contained in:
parent
42b81ea006
commit
bdeeabeb28
|
@ -15300,6 +15300,7 @@ fi
|
|||
*powerpc*)
|
||||
LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
|
||||
esac
|
||||
CFLAGS=`echo "$CFLAGS" | sed -e s/-O2/-O1/`
|
||||
;;
|
||||
*)
|
||||
DLLFLAGS="$DLLFLAGS -fPIC"
|
||||
|
|
|
@ -1052,6 +1052,9 @@ case $host_os in
|
|||
LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" dnl FIXME
|
||||
;;
|
||||
esac
|
||||
dnl Disable optimizations because of force_align_arg_pointer bug
|
||||
dnl FIXME: should be removed when gcc is fixed
|
||||
CFLAGS=`echo "$CFLAGS" | sed -e s/-O2/-O1/`
|
||||
;;
|
||||
*)
|
||||
DLLFLAGS="$DLLFLAGS -fPIC"
|
||||
|
|
Loading…
Reference in New Issue