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:
6600301
)
[libc] use -O3 to compile memory functions
author
Guillaume Chatelet
<gchatelet@google.com>
Thu, 20 Apr 2023 11:35:43 +0000
(11:35 +0000)
committer
Guillaume Chatelet
<gchatelet@google.com>
Thu, 20 Apr 2023 11:35:43 +0000
(11:35 +0000)
libc/src/string/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/libc/src/string/CMakeLists.txt
b/libc/src/string/CMakeLists.txt
index
a514938
..
554f33b
100644
(file)
--- a/
libc/src/string/CMakeLists.txt
+++ b/
libc/src/string/CMakeLists.txt
@@
-455,7
+455,7
@@
function(add_implementation name impl_name)
SRCS ${ADD_IMPL_SRCS}
HDRS ${ADD_IMPL_HDRS}
DEPENDS ${ADD_IMPL_DEPENDS}
- COMPILE_OPTIONS ${ADD_IMPL_COMPILE_OPTIONS}
+ COMPILE_OPTIONS
-O3
${ADD_IMPL_COMPILE_OPTIONS}
)
get_fq_target_name(${impl_name} fq_target_name)
set_target_properties(${fq_target_name} PROPERTIES REQUIRE_CPU_FEATURES "${ADD_IMPL_REQUIRE}")