[libc-commits] [libc] d7c8d51 - [libc][Obvious] Add -Wno-c++17-extensions to sinf, cosf and sincosf targets.

Siva Chandra Reddy via libc-commits libc-commits at lists.llvm.org
Tue Jan 18 22:24:31 PST 2022


Author: Siva Chandra Reddy
Date: 2022-01-19T06:22:17Z
New Revision: d7c8d51f94139b31f6dc2dbcb1a52958ffaa5da3

URL: https://github.com/llvm/llvm-project/commit/d7c8d51f94139b31f6dc2dbcb1a52958ffaa5da3
DIFF: https://github.com/llvm/llvm-project/commit/d7c8d51f94139b31f6dc2dbcb1a52958ffaa5da3.diff

LOG: [libc][Obvious] Add -Wno-c++17-extensions to sinf, cosf and sincosf targets.

Added: 
    

Modified: 
    libc/src/math/generic/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/src/math/generic/CMakeLists.txt b/libc/src/math/generic/CMakeLists.txt
index d3380e73bc173..6f650d2403d12 100644
--- a/libc/src/math/generic/CMakeLists.txt
+++ b/libc/src/math/generic/CMakeLists.txt
@@ -70,6 +70,9 @@ add_entrypoint_object(
     .sincosf_utils
     libc.include.math
     libc.src.errno.__errno_location
+  COMPILE_OPTIONS
+    -O3
+    -Wno-c++17-extensions
 )
 
 add_entrypoint_object(
@@ -85,6 +88,7 @@ add_entrypoint_object(
     libc.src.__support.FPUtil.fputil
   COMPILE_OPTIONS
     -O3
+    -Wno-c++17-extensions
 )
 
 add_entrypoint_object(
@@ -97,6 +101,9 @@ add_entrypoint_object(
     .sincosf_utils
     libc.include.math
     libc.src.errno.__errno_location
+  COMPILE_OPTIONS
+    -O3
+    -Wno-c++17-extensions
 )
 
 add_entrypoint_object(


        


More information about the libc-commits mailing list