summaryrefslogtreecommitdiff
path: root/make.tmpl.in
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2010-09-27 19:09:34 +0000
committerAlasdair Kergon <agk@redhat.com>2010-09-27 19:09:34 +0000
commit44a31a9c2f54aa497a2b946232132991aa78a595 (patch)
treefd24ad17a9c84fdc719f1f9a9ddebd2df84973a5 /make.tmpl.in
parent87368c35b9f569337e9949572d194c3c004dfea6 (diff)
downloadlvm2-44a31a9c2f54aa497a2b946232132991aa78a595.tar.gz
Speed up CRC32 calculations by using a larger lookup table.
Use -DDEBUG_CRC32 to revert to old function and check new one gives same result.
Diffstat (limited to 'make.tmpl.in')
-rw-r--r--make.tmpl.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/make.tmpl.in b/make.tmpl.in
index 7cb0f6f09..d30da1a8b 100644
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -113,6 +113,7 @@ CFLAGS += -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-pr
#CFLAGS += -W -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-qual
#CFLAGS += -pedantic -std=gnu99
+#CFLAGS += -DDEBUG_CRC32
CFLAGS += @COPTIMISE_FLAG@