diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-02-27 14:46:37 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-02-27 14:52:19 +0300 |
commit | abc040f26cb13b17ac52ea8579dc0d0d894f8bfc (patch) | |
tree | 570bdbd961ba9407f515db2a9b0895d0ee2a42cb /intern/libc_compat/CMakeLists.txt | |
parent | cb2f5d498e450da0b2f26702ed4d2691d9ee3750 (diff) |
Build: change libc compatibility code to only be used for new glibc
This way we can still use fast math functions.
Diffstat (limited to 'intern/libc_compat/CMakeLists.txt')
-rw-r--r-- | intern/libc_compat/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/libc_compat/CMakeLists.txt b/intern/libc_compat/CMakeLists.txt index 21d252806d4..f8fede5673b 100644 --- a/intern/libc_compat/CMakeLists.txt +++ b/intern/libc_compat/CMakeLists.txt @@ -32,4 +32,6 @@ set(SRC set(LIB ) +add_c_flag(-ffast-math) + blender_add_lib(bf_intern_libc_compat "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") |