We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96547de commit 758c184Copy full SHA for 758c184
libc/CMakeLists.txt
@@ -412,6 +412,12 @@ foreach(entrypoint IN LISTS TARGET_LLVMLIBC_ENTRYPOINTS)
412
list(APPEND TARGET_ENTRYPOINT_NAME_LIST ${entrypoint_name})
413
endforeach()
414
415
+if(MSVC AND NOT MSYS)
416
+ set(libc_opt_high_flag "/O2")
417
+else()
418
+ set(libc_opt_high_flag "-O3")
419
+endif()
420
+
421
add_subdirectory(include)
422
add_subdirectory(config)
423
add_subdirectory(hdr)
0 commit comments