Skip to content
Snippets Groups Projects
Commit bf6854bb authored by Ian Lynagh's avatar Ian Lynagh
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment