summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-19 01:31:26 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-19 01:31:26 -0400
commitdffc20591873ede1ec4b30634fc91ba3daa372eb (patch)
treeeee8928d27d748b8bdf7bad84931098e2698869e /configure
parent7b3348a98c139b4b4238384e52d4b0eb237e4833 (diff)
downloadmusl-dffc20591873ede1ec4b30634fc91ba3daa372eb.tar.gz
support clang internal assembler when building for arm as thumb2 code
the clang internal assembler does not accept assembler options passed via the usual -Wa mechanism, but it does accept -mimplicit-it directly as an option to the compiler driver.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index de2add15..997e6652 100755
--- a/configure
+++ b/configure
@@ -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