Add test build with -std=c99

This commit is contained in:
Manuel Pégourié-Gonnard 2015-05-29 10:31:13 +02:00
parent f8b6fdedd9
commit 009a2640f6

View file

@ -166,6 +166,14 @@ scripts/config.pl full
scripts/config.pl unset MBEDTLS_SSL_CLI_C
CC=gcc CFLAGS='-Werror -O0' make
msg "build: full config except net.c, make, gcc -std=c99" # ~ 30s
cleanup
cp "$CONFIG_H" "$CONFIG_BAK"
scripts/config.pl full
scripts/config.pl unset MBEDTLS_NET_C
scripts/config.pl set MBEDTLS_NO_PLATFORM_ENTROPY # uses syscall() on Linux
CC=gcc CFLAGS='-Werror -O0 -std=c99' make
if uname -a | grep -F x86_64 >/dev/null; then
msg "build: i386, make, gcc" # ~ 30s
cleanup