Usermode - Moved common portions of the Makefile.cfg files
[tpg/acess2.git] / Tools / GCCProxy / gccproxy.sh
index 801a1f1..5be7b6e 100755 (executable)
@@ -81,6 +81,7 @@ run() {
 }
 
 _ldflags="-lposix -lpsocket "$_ldflags
+_cflags=$_cflags" -fno-omit-frame-pointer"
 
 cfgfile=`mktemp`
 make --no-print-directory -f $BASEDIR/getconfig.mk ARCH=x86 TYPE=$_linktype > $cfgfile
@@ -108,6 +109,6 @@ elif echo " $_miscargs" | grep '\.c' >/dev/null; then
        rm $tmpout
        exit $_rv
 else
-       run $_LD $_ldflags $_miscargs $_outfile $LDFLAGS $LIBGCC_PATH $_libs
+       run $_LD $_ldflags $_miscargs $_outfile $LDFLAGS $_libs $LIBGCC_PATH
 fi
 

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