Add -mfma for HAVE_FMA3 in the non-DYNAMIC_ARCH case as well
This commit is contained in:
parent
02699226d0
commit
ec4d77c47c
|
@ -124,6 +124,9 @@ if (NOT DYNAMIC_ARCH)
|
|||
if (HAVE_AVX)
|
||||
set (CCOMMON_OPT "${CCOMMON_OPT} -mavx")
|
||||
endif ()
|
||||
if (HAVE_FMA3)
|
||||
set (CCOMMON_OPT "${CCOMMON_OPT} -mfma")
|
||||
endif ()
|
||||
if (HAVE_SSE)
|
||||
set (CCOMMON_OPT "${CCOMMON_OPT} -msse")
|
||||
endif ()
|
||||
|
|
Loading…
Reference in New Issue