From: John Hodge Date: Fri, 26 Apr 2013 05:28:24 +0000 (+0800) Subject: Tools/GCCProxy - Included libposix and libpsocket (for some reason) X-Git-Tag: rel0.15~513 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=86dd79731839652a978183ea9a584e5c25801564;p=tpg%2Facess2.git Tools/GCCProxy - Included libposix and libpsocket (for some reason) --- diff --git a/Tools/GCCProxy/gccproxy.sh b/Tools/GCCProxy/gccproxy.sh index 477c4766..0dd68644 100755 --- a/Tools/GCCProxy/gccproxy.sh +++ b/Tools/GCCProxy/gccproxy.sh @@ -78,6 +78,8 @@ run() { return $? } +_ldflags="-lposix -lpsocket "$_ldflags + cfgfile=`mktemp` make --no-print-directory -f $BASEDIR/getconfig.mk ARCH=x86 TYPE=$_linktype > $cfgfile . $cfgfile @@ -104,6 +106,6 @@ elif echo " $_miscargs" | grep '\.c' >/dev/null; then rm $tmpout exit $_rv else - run $_LD$_ldflags $_miscargs $_outfile $LDFLAGS $_libs + run $_LD $_ldflags $_miscargs $_outfile $LDFLAGS $LIBGCC_PATH $_libs fi