Browse Source

Add -mfma for HAVE_FMA3 in the non-DYNAMIC_ARCH case as well

tags/v0.3.13^2
Martin Kroeker GitHub 4 years ago
parent
commit
ec4d77c47c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      cmake/cc.cmake

+ 3
- 0
cmake/cc.cmake View File

@@ -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…
Cancel
Save