aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-09-24 16:43:04 -0700
committerSean Whitton <spwhitton@spwhitton.name>2016-09-24 16:43:04 -0700
commit127e4ff1ce7bffd94d7501ac1faa431a2fcfcdfa (patch)
tree238a428bbf3909cb18db5c78b6998855fde17f9f
parent671df3f6d2a931a277e0ef2943c387cfa8ec2f36 (diff)
downloadzxcvbn-c-127e4ff1ce7bffd94d7501ac1faa431a2fcfcdfa.tar.gz
Conditionally define CFLAGS and CPPFLAGS
This avoids wiping out distribution-defined flags.
-rw-r--r--makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index 2007411..2b06881 100644
--- a/makefile
+++ b/makefile
@@ -1,5 +1,5 @@
-CFLAGS = -O2 -Wall -Wextra -Wdeclaration-after-statement
-CPPFLAGS = -O2 -Wall -Wextra
+CFLAGS ?= -O2 -Wall -Wextra -Wdeclaration-after-statement
+CPPFLAGS ?= -O2 -Wall -Wextra
WORDS = words-10k-pass.txt words-english.txt words-female.txt words-male.txt words-surname.txt