From d63a415efc2d72069fa6da83408f2713825d5406 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 5 Feb 2014 05:58:49 +0100 Subject: misc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 41fca96..224c22d 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,9 @@ JAVAFLAGS=-Xlint $(JAVA_OPTIMISE) JAVA_FLAGS=$(JAVADIRS) $(JAVAFLAGS) CFLAGS=-W{all,extra} -pedantic $(C_OPTIMISE) -fPIC +ifeq ($(WITH_C99),yes) + CFLAGS+=-std=c99 -DWITH_C99 +endif SOFLAGS=-W{all,extra} -pedantic $(C_OPTIMISE) -shared CPPFLAGS= LDFLAGS= -- cgit v1.2.3-70-g09d2