Commit bf6854bb authored by ian@well-typed.com's avatar ian@well-typed.com

Fix build problem: Error: junk `.get_pc_thunk.bx' after expression; trac #7799

Affects i386 only. Some gcc's generate code containing __i686, and then
define that symbol to 1, which causes compilation to fail. We undef
the symbol to work around it.
parent fdd552e0
......@@ -490,6 +490,13 @@ AC_DEFUN([FP_SETTINGS],
AC_DEFUN([FPTOOLS_SET_C_LD_FLAGS],
[
AC_MSG_CHECKING([Setting up $2, $3, $4 and $5])
case $$1 in
i386-apple-darwin)
# Workaround for #7799
$2="$$2 -U__i686"
;;
esac
case $$1 in
i386-apple-darwin)
$2="$$2 -m32"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment