Преглед на файлове

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.
Rich Felker преди 6 години
родител
ревизия
dffc205918
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      configure

+ 1 - 0
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