From 1de25417f49679cf705b096d73869e73102769f3 Mon Sep 17 00:00:00 2001 From: Veit Heller Date: Fri, 6 Feb 2015 18:58:52 +0100 Subject: [PATCH] Fix travis --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0dd5b2b..59d3f8e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -STD=-std=c99 -override CFLAGS+=-Werror -Wall -g -fPIC -O2 -DNDEBUG -ftrapv -Wfloat-equal -Wundef -Wwrite-strings -Wconversion -Wuninitialized -pedantic $(STD) +STD=-std=c11 +override CFLAGS+=-Werror -Wall -g -fPIC -O2 -DNDEBUG -ftrapv -Wfloat-equal -Wundef -Wwrite-strings -Wconversion -Wuninitialized -pedantic DEBUG+=-DDEBUG_ON PREFIX=/usr/bin/ BUILDDIR=bin/ @@ -16,7 +16,7 @@ all: #Uses picky extensions and makes everything(Extensions may break compiling) dev: - make all CFLAGS+="-Wshadow -Wunreachable-code -Wswitch-enum -Wswitch-default -Wcast-align -Winit-self -Wpointer-arith -fsanitize=address" + make all CFLAGS+="-Wshadow -Wunreachable-code -Wswitch-enum -Wswitch-default -Wcast-align -Winit-self -Wpointer-arith -fsanitize=address $(STD)" #Makes a debug build debug: