提交 e3f394af 编写于 作者: A Andrey Kamaev

Fixed remaining Android compatibility issues: added compiler flag to interpret char as signed char.

上级 8483b952
......@@ -1005,6 +1005,11 @@ if(CMAKE_COMPILER_IS_GNUCXX)
set(EXTRA_C_FLAGS_RELEASE "${EXTRA_C_FLAGS_RELEASE} -DNDEBUG")
set(EXTRA_C_FLAGS_DEBUG "${EXTRA_C_FLAGS_DEBUG} -O0 -ggdb3 -DDEBUG -D_DEBUG")
if(ANDROID)
#force compiler to interpret char as signed char
set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} -fsigned-char")
endif()
endif()
# Extra link libs if the user selects building static libs:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册