mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 10:15:40 +00:00
Add test for no platform.c in all.sh
This commit is contained in:
parent
3cfb34564f
commit
a71780e475
|
@ -130,6 +130,16 @@ msg "build: Unix make, -O2 (gcc)" # ~ 30s
|
|||
cleanup
|
||||
CC=gcc CFLAGS=-Werror make
|
||||
|
||||
# this is meant to cath missing #define polarssl_printf etc
|
||||
msg "build: full config except platform.c" # ~ 30s
|
||||
cleanup
|
||||
cp "$CONFIG_H" "$CONFIG_BAK"
|
||||
scripts/config.pl full
|
||||
scripts/config.pl unset POLARSSL_PLATFORM_C
|
||||
scripts/config.pl unset POLARSSL_MEMORY_C
|
||||
scripts/config.pl unset POLARSSL_MEMORY_BUFFER_ALLOC_C
|
||||
CC=gcc CFLAGS=-Werror make
|
||||
|
||||
if uname -a | grep -F x86_64 >/dev/null; then
|
||||
msg "build: i386, make, gcc" # ~ 30s
|
||||
cleanup
|
||||
|
|
Loading…
Reference in a new issue