Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions libc/src/__support/FPUtil/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ add_header_library(
libc.src.__support.FPUtil.generic.fma
FLAGS
FMA_OPT
COMPILE_OPTIONS
# We need to set -fno-math-errno so __builtin_fma* generate
# the fused-mutliply-add instructions rather than an fma call.
-fno-math-errno
)

add_header_library(
Expand All @@ -132,6 +136,10 @@ add_header_library(
libc.src.__support.common
FLAGS
FMA_OPT
COMPILE_OPTIONS
# We need to set -fno-math-errno so __builtin_fma* generate
# the fused-mutliply-add instructions rather than an fma call.
-fno-math-errno
)

add_header_library(
Expand Down
Loading