mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-24 22:15:07 +00:00
Add test build with -std=c99
This commit is contained in:
parent
f8b6fdedd9
commit
009a2640f6
|
@ -166,6 +166,14 @@ scripts/config.pl full
|
||||||
scripts/config.pl unset MBEDTLS_SSL_CLI_C
|
scripts/config.pl unset MBEDTLS_SSL_CLI_C
|
||||||
CC=gcc CFLAGS='-Werror -O0' make
|
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
|
if uname -a | grep -F x86_64 >/dev/null; then
|
||||||
msg "build: i386, make, gcc" # ~ 30s
|
msg "build: i386, make, gcc" # ~ 30s
|
||||||
cleanup
|
cleanup
|
||||||
|
|
Loading…
Reference in a new issue