Workaround for lack of "-Wl,--whole-archive" in MacOS's linker.
Workaround for lack of "-Wl,--whole-archive" in MacOS's linker.

Change-Id: I2b1de0a253d341bcb7ee05fdc96bdc0d0967985e

xorware/android_build,ND-3500/platform_manifest,xorware/android_build,xorware/android_build,xorware/android_build,pranav01/platform_manifest,RR-msm7x30/platform_manifest,xorware/android_build,Hybrid-Power/startsync,fallouttester/platform_manifest,knone1/platform_manifest,see4ri/lolili,hagar006/platform_manifest