projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cecd847
)
[libc][Obvious] Fix a typo in setting FMA control option for RISCV64.
author
Tue Ly
<lntue@google.com>
Fri, 2 Jun 2023 15:15:29 +0000
(11:15 -0400)
committer
Tue Ly
<lntue@google.com>
Fri, 2 Jun 2023 15:15:29 +0000
(11:15 -0400)
libc/cmake/modules/LLVMLibCObjectRules.cmake
patch
|
blob
|
history
diff --git
a/libc/cmake/modules/LLVMLibCObjectRules.cmake
b/libc/cmake/modules/LLVMLibCObjectRules.cmake
index
6889972
..
27c73af
100644
(file)
--- a/
libc/cmake/modules/LLVMLibCObjectRules.cmake
+++ b/
libc/cmake/modules/LLVMLibCObjectRules.cmake
@@
-44,7
+44,7
@@
function(_get_common_compile_options output_var flags)
list(APPEND compile_options "-mavx2")
list(APPEND compile_options "-mfma")
elseif(LIBC_TARGET_ARCHITECTURE_IS_RISCV64)
- list(APPEND compile_option "-D__LIBC_RISCV_USE_FMA")
+ list(APPEND compile_option
s
"-D__LIBC_RISCV_USE_FMA")
endif()
endif()
if(ADD_SSE4_2_FLAG)