6

On my current setup (ndk r8c) ndk-build performs a clean step (V=1 shows rm in action) without issuing clean explicitly. I'd like to change this behavior - I'm currently having linking problems and (re-)compilation takes more than 5 minutes. How can I do this?

1
  • 1
    This was fixed in NDK r8d. Dec 31, 2012 at 17:20

1 Answer 1

8

I suppose you are fasing a bug of NDK r8c. See this thread: http://code.google.com/p/android/issues/detail?id=39810. You can downgrade to a previous NDK release or apply the suggested patch.

The patch is to change a single line 289 in build/core/definitions.mk from

$1: $$(__ndk_file_dir)

to

$1: | $$(__ndk_file_dir)
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.