diff options
author | Siva Chandra Reddy <sivachandra@google.com> | 2022-01-19 06:22:17 +0000 |
---|---|---|
committer | Siva Chandra Reddy <sivachandra@google.com> | 2022-01-19 06:22:17 +0000 |
commit | d7c8d51f94139b31f6dc2dbcb1a52958ffaa5da3 (patch) | |
tree | 513dea5a7d6b95885cc66aaef30dd0b813d61d65 /libc | |
parent | [BOLT][CMAKE] Use BOLT_CLANG_EXE and BOLT_LLD_EXE as is (diff) | |
download | llvm-project-d7c8d51f94139b31f6dc2dbcb1a52958ffaa5da3.tar.gz llvm-project-d7c8d51f94139b31f6dc2dbcb1a52958ffaa5da3.tar.bz2 llvm-project-d7c8d51f94139b31f6dc2dbcb1a52958ffaa5da3.zip |
[libc][Obvious] Add -Wno-c++17-extensions to sinf, cosf and sincosf targets.
Diffstat (limited to 'libc')
-rw-r--r-- | libc/src/math/generic/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/src/math/generic/CMakeLists.txt b/libc/src/math/generic/CMakeLists.txt index d3380e73bc17..6f650d2403d1 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( |