Kaydet (Commit) 895061b8 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Filter out -fPIC too

...which happens to be passed in when building external/poppler with clang-cl

Change-Id: I2c17bec316081a0cdc789a84bb1447acf5e893c0
üst f95f1df0
......@@ -147,7 +147,7 @@ string processccargs(vector<string> rawargs) {
// "foo.def" by itself
linkargs.append(" " + *i);
}
else if(!(*i).compare(0,12,"-fvisibility")) {
else if(!(*i).compare(0,12,"-fvisibility") || *i == "-fPIC") {
//TODO: drop other gcc-specific options
}
else if(!(*i).compare(0,4,"-Wl,")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment