I recall that when Gold linker was introduced to NDK, there was an instruction on how to switch to it. But now I can't find that info anywhere in the docs. So, what do I put to my Application.mk
in order to use the gold
linker?
I've tried this flag:
APP_LDFLAGS += -fuse-ld=gold --threads
and it throws this error:
arm-linux-androideabi-g++: error: unrecognized command line option --threads'
so I suspect this is not gold
I'm linking with.