X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=configure;h=6310e0b9320c5a8c89db79595ab02df948f488b4;hb=d3b4869cd3a1861f824b9a97c3078846748764f0;hp=6e489a1dfe747767b5989c87ce0caab7348877d8;hpb=5e46e8d4b0fee11a5d2ea12d0d21ed0bff6db855;p=musl diff --git a/configure b/configure index 6e489a1d..6310e0b9 100755 --- a/configure +++ b/configure @@ -320,8 +320,8 @@ mips64*|mipsisa64*) ARCH=mips64 ;; mips*) ARCH=mips ;; microblaze*) ARCH=microblaze ;; or1k*) ARCH=or1k ;; -powerpc64*) ARCH=powerpc64 ;; -powerpc*) ARCH=powerpc ;; +powerpc64*|ppc64*) ARCH=powerpc64 ;; +powerpc*|ppc*) ARCH=powerpc ;; sh[1-9bel-]*|sh|superh*) ARCH=sh ;; s390x*) ARCH=s390x ;; unknown) fail "$0: unable to detect target arch; try $0 --target=..." ;; @@ -507,7 +507,7 @@ tryflag CFLAGS_AUTO -Werror=pointer-arith # parameter to stop printing warnings about LDFLAGS passed during # compiling stage and CFLAGS passed during linking stage. # -tryflag CFLAGS_AUTO -Qunused-arguments +test "$cc_family" = clang && tryflag CFLAGS_AUTO -Qunused-arguments if test "x$warnings" = xyes ; then tryflag CFLAGS_AUTO -Wall @@ -579,6 +579,7 @@ fi if test "$ARCH" = "arm" ; then if trycppif __thumb2__ "$t" ; then +tryflag CFLAGS_AUTO -mimplicit-it=always tryflag CFLAGS_AUTO -Wa,-mimplicit-it=always tryflag CFLAGS_AUTO -Wa,-mthumb fi