File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1515include (CMakeForceCompiler)
1616
1717set (CMAKE_SYSTEM_NAME Linux)
18- set (CMAKE_SYSTEM_PROCESSOR x86 )
18+ set (CMAKE_SYSTEM_PROCESSOR i686 )
1919
2020CMAKE_FORCE_C_COMPILER(afl-gcc GNU)
2121CMAKE_FORCE_CXX_COMPILER(afl-g++ GNU)
Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515set (CMAKE_SYSTEM_NAME Linux)
16- set (CMAKE_SYSTEM_PROCESSOR x86 )
16+ set (CMAKE_SYSTEM_PROCESSOR i686 )
1717
1818find_program (CMAKE_C_COMPILER NAMES i686-linux-gnu-gcc i686-unknown-linux-gnu-gcc)
1919find_program (CMAKE_CXX_COMPILER NAMES i686-linux-gnu-g++ i686-unknown-linux-gnu-g++)
Original file line number Diff line number Diff line change @@ -107,16 +107,16 @@ set(COMPILE_FLAGS_LIBC "${COMPILE_FLAGS_JERRY} ${C_FLAGS_JERRY}")
107107 set (DEFINES_LIBC ${DEFINES_LIBC} ${DEFINES_LIBC_ARMV7_HF} )
108108 elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "armv7l-el" )
109109 set (DEFINES_LIBC ${DEFINES_LIBC} ${DEFINES_LIBC_ARMV7_EL} )
110- elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86 " )
110+ elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "i686 " )
111111 set (DEFINES_LIBC ${DEFINES_LIBC} ${DEFINES_LIBC_X86} )
112112 else ()
113113 message (FATAL_ERROR "Unsupported machine architecture" )
114114 endif ()
115-
115+
116116# Platform-specific configuration
117117 set (DEFINES_LIBC ${DEFINES_LIBC} ${DEFINES_LIBC_${PLATFORM} })
118118
119- # Targets declaration
119+ # Targets declaration
120120 add_custom_target (jerry-libc-all )
121121
122122 string (TOLOWER ${PLATFORM_EXT} PLATFORM_L)
You can’t perform that action at this time.
0 commit comments