Let compiler generate offset arithmetic to make fpu-x86 portable to x86_64.(thanks wjp)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3851
This commit is contained in:
parent
3b2adeccbf
commit
3074cbbc59
2 changed files with 152 additions and 317 deletions
|
@ -320,7 +320,7 @@ if test x$enable_fpu_x86 = xno ; then
|
|||
AC_MSG_RESULT(no)
|
||||
else
|
||||
if test x$enable_fpu = xyes; then
|
||||
if test x$c_targetcpu = xx86 ; then
|
||||
if test x$c_targetcpu = xx86 -o x$c_targetcpu = xx86_64; then
|
||||
AC_DEFINE(C_FPU_X86,1)
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue