shithub: mc

Download patch

ref: f78dafbaa956467530295bba1caeaa61e783f274
parent: ce56b7eacc56b427ba673829b0b35b933e3f2cda
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Jul 28 22:14:40 EDT 2016

Remove sanitizer flags.

--- a/mk/c.mk
+++ b/mk/c.mk
@@ -9,9 +9,8 @@
 _LIBPATHS=$(addprefix -l, $(patsubst lib%.a,%,$(notdir $(DEPS)))) $(_PCLIBS)
 
 # yeah, I should probably remove -Werror, but it's nice for developing alone.
-CFLAGS += -Wall -Wextra -Werror -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -g -O0 -fsanitize=undefined
+CFLAGS += -Wall -Wextra -Werror -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -g -O0
 CFLAGS += -MMD -MP -MF .deps/$(subst /,-,$*).d
-LDFLAGS += -fsanitize=undefined
 
 LIB ?= $(INSTLIB)
 BIN ?= $(INSTBIN)