From 3d65247dc2f2978ba00b3e43bd9163b7e8633910 Mon Sep 17 00:00:00 2001 From: Veit Heller Date: Fri, 6 Feb 2015 18:48:03 +0100 Subject: [PATCH] Fix travis --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c71cf51..a21d0d6 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -STD=-std=c11 -override CFLAGS+=-Werror -Wall -g -fPIC -O2 -DNDEBUG -ftrapv -Wfloat-equal -Wundef -Wwrite-strings -Wconversion -Wuninitialized -pedantic -fsanitize=address $(STD) +STD=-ansi +override CFLAGS+=-Werror -Wall -g -fPIC -O2 -DNDEBUG -ftrapv -Wfloat-equal -Wundef -Wwrite-strings -Wconversion -Wuninitialized -pedantic $(STD) 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" + make all CFLAGS+="-Wshadow -Wunreachable-code -Wswitch-enum -Wswitch-default -Wcast-align -Winit-self -Wpointer-arith -fsanitize=address" #Makes a debug build debug: