Tools/GCCProxy - -dumpversion/-dumpspecs used by netsurf
authorJohn Hodge <[email protected]>
Tue, 2 Jul 2013 00:49:24 +0000 (08:49 +0800)
committerJohn Hodge <[email protected]>
Tue, 2 Jul 2013 00:49:24 +0000 (08:49 +0800)
Tools/GCCProxy/gccproxy.sh

index 7448d38..5a126a9 100755 (executable)
@@ -16,6 +16,8 @@ _miscargs=""
 _compile=0
 _linktype=Applications
 
+echo [GCCProxy] $* >&2
+
 while [[ $# -gt 0 ]]; do
        case "$1" in
        -E)
@@ -65,6 +67,14 @@ while [[ $# -gt 0 ]]; do
                echo $0 --inv=ld
                exit 0
                ;;
+       -dumpspecs)
+               _compile=1
+               _miscargs=$_miscargs" $1"
+               ;;
+       -dumpversion)
+               _compile=1
+               _miscargs=$_miscargs" $1"
+               ;;
        *)
                _miscargs=$_miscargs" $1"
                ;;

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