From: Rich Felker Date: Wed, 19 Sep 2018 05:31:26 +0000 (-0400) Subject: support clang internal assembler when building for arm as thumb2 code X-Git-Tag: v1.1.21~77 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dffc20591873ede1ec4b30634fc91ba3daa372eb;p=oweals%2Fmusl.git 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. --- 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