From 86dd79731839652a978183ea9a584e5c25801564 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Fri, 26 Apr 2013 13:28:24 +0800 Subject: [PATCH] Tools/GCCProxy - Included libposix and libpsocket (for some reason) --- Tools/GCCProxy/gccproxy.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.20.1