Ok. It's actually ndk-build that I'm running from my external tool. It's probably gcc that it's running behind the scenes anyway. So could I add a custom compiler for this case even though there will be no parameters given to the compiler? ndk-build is like a make program which recursively makes android.mk files.
I wonder if anybody else has configured CodeLite for Android NDK development.. That's what I'm trying to do at the moment.