From 718593681e980b4032c1490f7c8fb049452645a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 2 Jun 2015 16:39:22 +0100 Subject: [PATCH] Use -std=c99 only for library --- tests/scripts/all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index b1e3bdc5..85eac010 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -172,7 +172,7 @@ cp "$CONFIG_H" "$CONFIG_BAK" scripts/config.pl full 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 +CC=gcc CFLAGS='-Werror -O0 -std=c99 -pedantic' make lib if uname -a | grep -F x86_64 >/dev/null; then msg "build: i386, make, gcc" # ~ 30s