Enable sample/simple for aarch64 (#616)
Fixed a typo in aot_reloc_aarch64.c. Remove -m32 option in host tool CMakeLists.txt and change data type of structure fields to make host tool work in 64-bit. Signed-off-by: Bao Haojun <baohaojun@lixiang.com>
This commit is contained in:
@ -34,11 +34,6 @@ include (${SHARED_DIR}/mem-alloc/mem_alloc.cmake)
|
||||
include (${CJSON_DIR}/cjson.cmake)
|
||||
include (${SHARED_DIR}/coap/lib_coap.cmake)
|
||||
|
||||
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32")
|
||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32")
|
||||
endif ()
|
||||
|
||||
add_definitions(-Wall -Wno-pointer-sign)
|
||||
|
||||
include_directories(
|
||||
|
||||
Reference in New Issue
Block a user