X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=configure;h=c2db298ce95f71afce00efae02e8f164ec47271b;hb=5c10c33d2a35204ee76931625a007fcc8cca3228;hp=81e90f790336e5d22cf16924f3f146c2e68e2cb8;hpb=15094943050eb9a564f409323070e50b40f78816;p=musl diff --git a/configure b/configure index 81e90f79..c2db298c 100755 --- a/configure +++ b/configure @@ -602,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