NDK Android - Can't build ARMv5 and V7 at the same time

拜拜、爱过 提交于 2019-12-06 02:05:58

The Android make system parses your Android.mk once for each target, so your MY_LOCAL_SRC_FILES gets a full set of all of your .c and .cpp files twice when there are two targets, but only one of each when there's a single target.

If your first MY_LOCAL_SRC_FILES assignment used := instead of +=, I think it would fix the problem.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!