[libc][Obvious] Fix a typo in setting FMA control option for RISCV64.
authorTue Ly <lntue@google.com>
Fri, 2 Jun 2023 15:15:29 +0000 (11:15 -0400)
committerTue Ly <lntue@google.com>
Fri, 2 Jun 2023 15:15:29 +0000 (11:15 -0400)
libc/cmake/modules/LLVMLibCObjectRules.cmake

index 6889972..27c73af 100644 (file)
@@ -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_options "-D__LIBC_RISCV_USE_FMA")
       endif()
     endif()
     if(ADD_SSE4_2_FLAG)