projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b3348a
)
support clang internal assembler when building for arm as thumb2 code
author
Rich Felker
<dalias@aerifal.cx>
Wed, 19 Sep 2018 05:31:26 +0000
(
01:31
-0400)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 19 Sep 2018 05:31:26 +0000
(
01:31
-0400)
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.
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index de2add153b4ad7cdb32041595a681041c297f4d8..997e665268439545e6638b46de717f216bacadb4 100755
(executable)
--- 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