This will encourage me to add the visibility decorations where necessary
and reduce work needed for porting to Windows.
if(binfo.threads && arch.get_system()!="windows" && arch.get_system()!="darwin")
argv.push_back("-pthread");
if(object.is_used_in_shared_library() && arch.get_system()!="windows")
+ {
+ argv.push_back("-fvisibility=hidden");
argv.push_back("-fPIC");
+ }
if((arch.get_type()=="x86" || arch.get_type()=="ppc") && !arch.is_native())
argv.push_back(format("-m%d", arch.get_bits()));