How to let libtool not link with c++ and gcc

ayaka <[email protected]>
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <[email protected]>
I am porting the openembedded build system for building the Android target. I don't want to use libgcc in Android since its uses a bionic and LLVM c++ combine environment.
I am suffering a problem with libtool, it would try to link library c++ and gcc. I think it is the value in the ${host}-libtool causes that.
postdeps="-lc++ -lm -lgcc -ldl -lc -lgcc -ldl"

I try to understand the script ltmain.sh, but I can't figure out where that '-lgcc' comes from. Could someone give me some tips here ? 

Sent from my iPad
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.