From b245f4a5a70f1acf4d4c2ce7ee9ec4199819baa3 Mon Sep 17 00:00:00 2001 From: Will Furnass Date: Fri, 31 Jul 2015 18:22:24 +0100 Subject: [PATCH] Request use of C99 standard in Linux Makefiles --- build/Linux/Makefile | 2 +- build/Linux/Makefile_Rev | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Linux/Makefile b/build/Linux/Makefile index d08b6df..01e80cf 100755 --- a/build/Linux/Makefile +++ b/build/Linux/Makefile @@ -54,7 +54,7 @@ docdir = $(datarootdir)/doc/epanet # Compiler and flags CC = gcc -CFLAGS = -g -O3 -fPIC +CFLAGS = -g -O3 -fPIC -std=c99 CPPFLAGS = -I $(epanetincludedir) LDFLAGS = -L . -Wl,-rpath,$(libdir) -lm diff --git a/build/Linux/Makefile_Rev b/build/Linux/Makefile_Rev index 488e471..362725d 100755 --- a/build/Linux/Makefile_Rev +++ b/build/Linux/Makefile_Rev @@ -57,7 +57,7 @@ docdir = $(datarootdir)/doc/epanet # Compiler and flags CC = gcc -CFLAGS = -g -O3 -fPIC +CFLAGS = -g -O3 -fPIC -std=c99 CPPFLAGS = -I $(epanetincludedir) LDFLAGS = -L . -Wl,-rpath,$(libdir) -lm