X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=configure;h=c2db298ce95f71afce00efae02e8f164ec47271b;hb=1c497005ee58fd237646a49231b73fd3ea79e2d5;hp=707eb125648b626b584a621fed137f187e1a7548;hpb=fff880185bb3624acfbd2c6a75a1655bcd782c51;p=musl diff --git a/configure b/configure index 707eb125..c2db298c 100755 --- a/configure +++ b/configure @@ -325,6 +325,7 @@ or1k*) ARCH=or1k ;; powerpc64*) ARCH=powerpc64 ;; powerpc*) ARCH=powerpc ;; sh[1-9bel-]*|sh|superh*) ARCH=sh ;; +s390x*) ARCH=s390x ;; unknown) fail "$0: unable to detect target arch; try $0 --target=..." ;; *) fail "$0: unknown or unsupported target \"$target\"" ;; esac @@ -601,6 +602,10 @@ trycppif __ILP32__ "$t" && ARCH=x32 fi if test "$ARCH" = "arm" ; then +if trycppif __thumb2__ "$t" ; then +tryflag CFLAGS_AUTO -Wa,-mimplicit-it=always +tryflag CFLAGS_AUTO -Wa,-mthumb +fi trycppif __ARMEB__ "$t" && SUBARCH=${SUBARCH}eb trycppif __ARM_PCS_VFP "$t" && SUBARCH=${SUBARCH}hf # Versions of clang up until at least 3.8 have the wrong constraint codes