diff options
author | Alasdair Kergon <agk@redhat.com> | 2010-09-27 19:09:34 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2010-09-27 19:09:34 +0000 |
commit | 44a31a9c2f54aa497a2b946232132991aa78a595 (patch) | |
tree | fd24ad17a9c84fdc719f1f9a9ddebd2df84973a5 /make.tmpl.in | |
parent | 87368c35b9f569337e9949572d194c3c004dfea6 (diff) | |
download | lvm2-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.in | 1 |
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@ |