Skip to content

Commit

Permalink
- It's called -mfpmath, not -fpmath....
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@5828 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Jul 8, 2010
1 parent bb08ee6 commit 3abdc5e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions configure.in
Expand Up @@ -55,13 +55,13 @@ fi

fi

dnl Simulations spin forever unless -fpmath=sse is set
AC_MSG_CHECKING([for fpmath])
if echo $CFLAGS | grep -q -- -fpmath=; then
dnl Simulations spin forever unless -mfpmath=sse is set
AC_MSG_CHECKING([for -mfpmath])
if echo $CFLAGS | grep -q -- -mfpmath=; then
AC_MSG_RESULT([yes])
else
CFLAGS+=" -fpmath=sse"
AC_MSG_RESULT([adding -fpmath=sse])
CFLAGS+=" -mfpmath=sse"
AC_MSG_RESULT([adding -mfpmath=sse])
fi

fi # End x86-specific CFLAGS
Expand Down

0 comments on commit 3abdc5e

Please sign in to comment.