X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Tools%2FGCCProxy%2Fgccproxy.sh;h=1b0dfbe4f859b57ea39b1a0f90792a3992b48fae;hb=de6091a10d2cdded5e58f25ba3e3db7db726d01d;hp=5a126a9235e48fef609673051d1543d8b17e3af8;hpb=e7a76b0d8a0cc6aa77966509780973a6f8216ef7;p=tpg%2Facess2.git diff --git a/Tools/GCCProxy/gccproxy.sh b/Tools/GCCProxy/gccproxy.sh index 5a126a92..1b0dfbe4 100755 --- a/Tools/GCCProxy/gccproxy.sh +++ b/Tools/GCCProxy/gccproxy.sh @@ -50,6 +50,9 @@ while [[ $# -gt 0 ]]; do arg=${arg/,/ } _ldflags=$_ldflags" ${arg}" ;; + -Wall|-Werror|-Wextra)\ + _cflags=$_cflags" $1" + ;; -l|-L) _libs=$_libs" $1$2" shift @@ -63,6 +66,9 @@ while [[ $# -gt 0 ]]; do --inv=ld) _actas=ld ;; + -pthread) + _ldflags=$_ldflags" -lpthread" + ;; -print-prog-name=ld) echo $0 --inv=ld exit 0