From efd4bb2d726cd9b755677e8e88579ebce1f0bae1 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Wed, 20 Jan 2016 19:41:12 +0100 Subject: Temporary fix for building against GCC 5 and newer. GCC 5 updated the default -std from gnu89 to gnu11. This introduces some incompatibilities with the eurephia source. So for now we compile against the GNU89 standard, until these issues have been resolved in a better way. Signed-off-by: David Sommerseth --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 287be22..eeb4f33 100755 --- a/configure +++ b/configure @@ -90,7 +90,7 @@ ADMIN=""; OPENVPN_SRC_DIR="" PLUGIN="" CONFIGUREPARAMS="$*" -CFLAGS="$CFLAGS -fno-delete-null-pointer-checks -g -Wall -Wpointer-arith" +CFLAGS="$CFLAGS -std=gnu89 -fno-delete-null-pointer-checks -g -Wall -Wpointer-arith" # Parse all arguments while [ ! -z "$1" ]; do -- cgit