mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-04 14:08:39 +00:00
Fix warnings from -pedantic
This commit is contained in:
parent
009a2640f6
commit
f78e4de6f4
4 changed files with 35 additions and 28 deletions
|
|
@ -166,13 +166,13 @@ 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
|
||||
msg "build: full config except net.c, make, gcc -std=c99 -pedantic" # ~ 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
|
||||
scripts/config.pl unset MBEDTLS_NET_C # getaddrinfo() undeclared, etc.
|
||||
scripts/config.pl set MBEDTLS_NO_PLATFORM_ENTROPY # uses syscall() on GNU/Linux
|
||||
CC=gcc CFLAGS='-Werror -O0 -std=c99 -pedantic' make
|
||||
|
||||
if uname -a | grep -F x86_64 >/dev/null; then
|
||||
msg "build: i386, make, gcc" # ~ 30s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue