We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fd955cf + 9543622 commit 5851fcaCopy full SHA for 5851fca
backends/cadence/cadence.cmake
@@ -43,6 +43,9 @@ set(CMAKE_CXX_COMPILER ${TOOLCHAIN_HOME}/bin/${CROSS_COMPILE_TARGET}-clang++)
43
44
set(CMAKE_C_FLAGS_INIT "-stdlib=libc++ -mtext-section-literals -mlongcalls")
45
set(CMAKE_CXX_FLAGS_INIT "-stdlib=libc++ -mtext-section-literals -mlongcalls")
46
+#workaround for larger compilation time
47
+SET(CMAKE_CXX_FLAGS_INIT "${CMAKE_CXX_FLAGS_INIT} -fno-strict-aliasing")
48
+
49
set(CMAKE_SYSROOT ${TOOLCHAIN_HOME}/${SYSROOT_TARGET})
50
set(CMAKE_LINKER ${TOOLCHAIN_HOME}/bin/xt-ld)
51
add_link_options(-lm -stdlib=libc++ -Wl,--no-as-needed -static)
0 commit comments