aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkoekeishiya <aasvi93@hotmail.com>2018-03-24 21:46:25 +0100
committerkoekeishiya <aasvi93@hotmail.com>2018-03-24 21:46:25 +0100
commitb94565ab91714ebfad4385957ca5b7336d574856 (patch)
treee90220d741b2d46341a4a6774174a54d417e923a
parent2cb18d41124b8eed3886a0b5f5dfcb36df5b11c8 (diff)
downloadskhd-b94565ab91714ebfad4385957ca5b7336d574856.tar.gz
skhd-b94565ab91714ebfad4385957ca5b7336d574856.zip
segfault build for debugging #28
-rw-r--r--makefile3
1 files changed, 3 insertions, 0 deletions
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)