From b94565ab91714ebfad4385957ca5b7336d574856 Mon Sep 17 00:00:00 2001 From: koekeishiya Date: Sat, 24 Mar 2018 21:46:25 +0100 Subject: segfault build for debugging #28 --- makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/makefile b/makefile index aa697b3..a70a05e 100644 --- a/makefile +++ b/makefile @@ -11,6 +11,9 @@ all: clean $(BINS) install: BUILD_FLAGS=-std=c99 -O3 install: clean $(BINS) +segfault: BUILD_FLAGS=-O0 -g -Wall -std=c99 -D_FORTIFY_SOURCE=2 -fstack-protector-strong --param ssp-buffer-size=4 -fPIC -fno-strict-overflow -Wformat -Wformat-security -Werror=format-security +segfault: clean $(BINS) + clean: rm -rf $(BUILD_PATH) -- cgit v1.2.3