Add all.sh test to force 32-bit compilation
This commit is contained in:
parent
05d9535c90
commit
dd29c2f2c3
1 changed files with 11 additions and 0 deletions
|
@ -438,6 +438,17 @@ if uname -a | grep -F x86_64 >/dev/null; then
|
||||||
msg "build: i386, make, gcc" # ~ 30s
|
msg "build: i386, make, gcc" # ~ 30s
|
||||||
cleanup
|
cleanup
|
||||||
CC=gcc CFLAGS='-Werror -Wall -Wextra -m32' make
|
CC=gcc CFLAGS='-Werror -Wall -Wextra -m32' make
|
||||||
|
|
||||||
|
msg "build: gcc, force 32-bit compilation"
|
||||||
|
cleanup
|
||||||
|
cp "$CONFIG_H" "$CONFIG_BAK"
|
||||||
|
scripts/config.pl unset MBEDTLS_HAVE_ASM
|
||||||
|
scripts/config.pl unset MBEDTLS_AESNI_C
|
||||||
|
scripts/config.pl unset MBEDTLS_PADLOCK_C
|
||||||
|
CC=gcc CFLAGS='-Werror -Wall -Wextra -DMBEDTLS_HAVE_INT32' make
|
||||||
|
|
||||||
|
msg "test: gcc, force 32-bit compilation"
|
||||||
|
make test
|
||||||
fi # x86_64
|
fi # x86_64
|
||||||
|
|
||||||
msg "build: arm-none-eabi-gcc, make" # ~ 10s
|
msg "build: arm-none-eabi-gcc, make" # ~ 10s
|
||||||
|
|
Loading…
Reference in a new issue