File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ set(CMAKE_CROSSCOMPILING TRUE)
4141set (CMAKE_C_COMPILER ${TOOLCHAIN_HOME} /bin/${CROSS_COMPILE_TARGET} -clang)
4242set (CMAKE_CXX_COMPILER ${TOOLCHAIN_HOME} /bin/${CROSS_COMPILE_TARGET} -clang++)
4343
44- set (CMAKE_C_FLAGS_INIT "-stdlib=libc++ -mtext-section-literals -mlongcalls" )
45- set (CMAKE_CXX_FLAGS_INIT "-stdlib=libc++ -mtext-section-literals -mlongcalls" )
44+ set (CMAKE_C_FLAGS_INIT "-stdlib=libc++ -mtext-section-literals -mlongcalls -fno-strict-aliasing " )
45+ set (CMAKE_CXX_FLAGS_INIT "-stdlib=libc++ -mtext-section-literals -mlongcalls -fno-strict-aliasing " )
4646set (CMAKE_SYSROOT ${TOOLCHAIN_HOME} /${SYSROOT_TARGET} )
4747set (CMAKE_LINKER ${TOOLCHAIN_HOME} /bin/xt-ld)
4848add_link_options (-lm -stdlib=libc++ -Wl,--no -as-needed -static )
You can’t perform that action at this time.
0 commit comments