From b3646f72d4f20443cd39070f57bb4dd360300037 Mon Sep 17 00:00:00 2001 From: Pei-Hsuan Hung Date: Mon, 3 Feb 2020 00:56:09 +0800 Subject: [PATCH] Fix typo --- Makefile | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index bfce058ad..d746ef298 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ else endif # Enable sanitizer(s) or not -ifeq ("$(SANITIER)","1") +ifeq ("$(SANITIZER)","1") # https://github.com/google/sanitizers/wiki/AddressSanitizerFlags CFLAGS += -fsanitize=address -fno-omit-frame-pointer -fno-common LDFLAGS += -fsanitize=address @@ -46,7 +46,7 @@ valgrind_existence: valgrind: valgrind_existence # Explicitly disable sanitizer(s) - $(MAKE) clean SANITIER=0 qtest + $(MAKE) clean SANITIZER=0 qtest $(eval patched_file := $(shell mktemp /tmp/qtest.XXXXXX)) cp qtest $(patched_file) chmod u+x $(patched_file) diff --git a/README.md b/README.md index eec0ebcf1..25e2d95c0 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ $ make valgrind Extra options can be recognized by make: * `VERBOSE`: control the build verbosity. If `VERBOSE=1`, echo eacho command in build process. -* `SANITIER`: enable sanitizer(s) directed build. At the moment, AddressSanitizer is supported. +* `SANITIZER`: enable sanitizer(s) directed build. At the moment, AddressSanitizer is supported. ## Using qtest