Tools/GCCProxy - Included libposix and libpsocket (for some reason)
authorJohn Hodge <[email protected]>
Fri, 26 Apr 2013 05:28:24 +0000 (13:28 +0800)
committerJohn Hodge <[email protected]>
Fri, 26 Apr 2013 05:28:24 +0000 (13:28 +0800)
Tools/GCCProxy/gccproxy.sh

index 477c476..0dd6864 100755 (executable)
@@ -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
 

UCC git Repository :: git.ucc.asn.au