Fix error with -Wl,-shared
Android's clang errors on the following line because its passes -pie to linker: clang++ -Wl,-shared myfile.c .../arm-linux-androideabi/bin/ld: fatal error: -shared and -pie are incompatible Clang should check the existance of "-Wl,-shared" too before adding -pie for Android Change-Id: I13e01dc62e5330f3c0c29f954b9624c2175e3000
Loading
Please sign in to comment