We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03ba474 commit d8b475eCopy full SHA for d8b475e
cmake/adjust_global_compile_flags.cmake
@@ -20,8 +20,8 @@ endif()
20
# Enable space optimization for gcc/clang
21
# Cannot use "-ffunction-sections -fdata-sections" if we enable bitcode (iOS)
22
if (NOT MSVC AND NOT onnxruntime_ENABLE_BITCODE)
23
- string(APPEND CMAKE_CXX_FLAGS " -ffunction-sections -fdata-sections")
24
- string(APPEND CMAKE_C_FLAGS " -ffunction-sections -fdata-sections")
+ string(APPEND CMAKE_CXX_FLAGS " -ffunction-sections -fdata-sections")
+ string(APPEND CMAKE_C_FLAGS " -ffunction-sections -fdata-sections")
25
endif()
26
27
if (CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
0 commit comments