ARM: Disable Thumb mode.

* build-aux/build.sh.in: Disable Thumb mode.
* build-aux/check.sh.in: Disable Thumb mode.
This commit is contained in:
Danny Milosavljevic 2019-03-13 00:06:14 +01:00 committed by Jan Nieuwenhuizen
parent 44cfdd7e3c
commit 53620890f4
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
2 changed files with 9 additions and 0 deletions

View File

@ -64,6 +64,12 @@ if test $mes_libc = mes; then
"
fi
if test $mes_cpu = arm; then
CFLAGS="$CFLAGS
-marm
"
fi
CPPFLAGS="
-D HAVE_CONFIG_H=1
-I ../include

View File

@ -28,6 +28,9 @@ if $courageous; then
fi
CFLAGS=
if test $mes_cpu = arm; then
CFLAGS="-marm"
fi
if test $mes_libc = mes; then
CFLAGS="${CFLAGS}
-static