diff options
author | Rich Felker <dalias@aerifal.cx> | 2016-12-19 21:53:33 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-12-19 21:53:33 -0500 |
commit | 088c9674a9c81cf20e9a863df571ba6d48e9ae37 (patch) | |
tree | 5b763aa29185f705295b524b5bcebc0d5f612f3b /configure | |
parent | 29237f7f5c09c436825a7a12b68ab4143b0ebd1f (diff) | |
download | musl-088c9674a9c81cf20e9a863df571ba6d48e9ae37.tar.gz |
when building for arm as thumb2 code, also request assembly as thumb
all assembly is now thumb2-compatible. on existing targets this is at
best a size optimization, but it will also facilitate porting to
thumb2-isa-only arm variants.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |