summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@eurephia.org>2016-01-20 19:41:12 +0100
committerDavid Sommerseth <dazo@eurephia.org>2016-01-20 19:44:39 +0100
commitefd4bb2d726cd9b755677e8e88579ebce1f0bae1 (patch)
tree738e1fdccaa0741cd7be43d8083d413232441fd7
parent38a2c7d5821d985d993ed14b63a2cfe0af7b41b6 (diff)
downloadeurephia-master.tar.gz
eurephia-master.tar.xz
eurephia-master.zip
Temporary fix for building against GCC 5 and newer.HEADmaster
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 <dazo@eurephia.org>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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