File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -102,19 +102,6 @@ project (Jerry CXX C ASM)
102
102
message (FATAL_ERROR "Platform '${PLATFORM} ' is not supported" )
103
103
endif ()
104
104
105
- if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX )
106
- if ("${ENABLE_LTO} " STREQUAL "ON" )
107
- # Use gcc-ar and gcc-ranlib to support LTO
108
- get_filename_component (PATH_TO_GCC ${CMAKE_C_COMPILER} REALPATH )
109
- get_filename_component (DIRECTORY_GCC ${PATH_TO_GCC} DIRECTORY )
110
- get_filename_component (FILE_NAME_GCC ${PATH_TO_GCC} NAME )
111
- string (REPLACE "gcc" "gcc-ar" CMAKE_AR ${FILE_NAME_GCC} )
112
- string (REPLACE "gcc" "gcc-ranlib" CMAKE_RANLIB ${FILE_NAME_GCC} )
113
- set (CMAKE_AR ${DIRECTORY_GCC} /${CMAKE_AR} )
114
- set (CMAKE_RANLIB ${DIRECTORY_GCC} /${CMAKE_RANLIB} )
115
- endif ()
116
- endif ()
117
-
118
105
# Intermediate files
119
106
# Script to run on MCU
120
107
set (MCU_SCRIPT_GENERATED_HEADER ${CMAKE_BINARY_DIR} /generated.h )
You can’t perform that action at this time.
0 commit comments