return $?
}
+_ldflags="-lposix -lpsocket "$_ldflags
+
cfgfile=`mktemp`
make --no-print-directory -f $BASEDIR/getconfig.mk ARCH=x86 TYPE=$_linktype > $cfgfile
. $cfgfile
rm $tmpout
exit $_rv
else
- run $_LD$_ldflags $_miscargs $_outfile $LDFLAGS $_libs
+ run $_LD $_ldflags $_miscargs $_outfile $LDFLAGS $LIBGCC_PATH $_libs
fi