android ndk r8c貌似没有经过严格的发布测试,导致每次Build工程都需要重新编译代码,即使你没有修改任何文件。
碰到这个问题的朋友有很多,今天在谷歌论坛上找到了解决方案,与大家共享之:
解决的方法很简单,只要修改一行即可,下面直接引用:
I believe that the fix is easy: use order-only prerequisite, (cf. http://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html). The patch is to change a single line 289 in build/core/definitions.mk from $1: $$(__ndk_file_dir) to $1: | $$(__ndk_file_dir) Enjoy, Alex Cohn
感谢Alex Cohn