ofxOpenCv : reduce size of static libs in armeabi-v7a

Hi
Addon ofxOpenCv has

ofxOpenCv/libs/opencv/lib/android/armeabi-v7a

for all opencv modules. I am looking for a way to reduce the size of static libs (.a).
Somewhere I read that OpenCv-2.4.9 source is used.
and the compiler is GCC: (GNU) 4.9 20140827 (prerelease)

I am facing some linking issues when I build the source with arm-linux-gnueabi-gcc-5 (version 5.4)

I am not able to find the exact gcc compiler (4.9 20140827) which was used.

Has anybody done this earlier ? Can somebody help me with the compiler version atleast ?
Thanks