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.
1 parent 4cde5a8 commit d3a73d7Copy full SHA for d3a73d7
CMakeLists.txt
@@ -107,6 +107,10 @@ if(EXPERIMENTAL)
107
endif()
108
109
# Add arch-dependant flags
110
+if(NOT DEFINED TARGET_ARCH)
111
+ message(WARNING "Use generic flags since TARGET_ARCH is not defined")
112
+ set(TARGET_ARCH "noarch")
113
+endif()
114
if("${TARGET_ARCH}" STREQUAL "arm")
115
iotjs_add_compile_flags(-D__arm__ -mthumb -fno-short-enums -mlittle-endian)
116
elseif("${TARGET_ARCH}" STREQUAL "i686")
0 commit comments