Fix travis
This commit is contained in:
6
Makefile
6
Makefile
@@ -1,5 +1,5 @@
|
|||||||
STD=-std=c11
|
STD=-ansi
|
||||||
override CFLAGS+=-Werror -Wall -g -fPIC -O2 -DNDEBUG -ftrapv -Wfloat-equal -Wundef -Wwrite-strings -Wconversion -Wuninitialized -pedantic -fsanitize=address $(STD)
|
override CFLAGS+=-Werror -Wall -g -fPIC -O2 -DNDEBUG -ftrapv -Wfloat-equal -Wundef -Wwrite-strings -Wconversion -Wuninitialized -pedantic $(STD)
|
||||||
DEBUG+=-DDEBUG_ON
|
DEBUG+=-DDEBUG_ON
|
||||||
PREFIX=/usr/bin/
|
PREFIX=/usr/bin/
|
||||||
BUILDDIR=bin/
|
BUILDDIR=bin/
|
||||||
@@ -16,7 +16,7 @@ all:
|
|||||||
|
|
||||||
#Uses picky extensions and makes everything(Extensions may break compiling)
|
#Uses picky extensions and makes everything(Extensions may break compiling)
|
||||||
dev:
|
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
|
#Makes a debug build
|
||||||
debug:
|
debug:
|
||||||
|
Reference in New Issue
Block a user