From 14db3315ca426578483544e5cd9ea408587f35ed Mon Sep 17 00:00:00 2001 From: nick Date: Wed, 24 Jul 2013 12:34:36 +0100 Subject: [PATCH] non-debug builds get -O2 for impressive bitset speedups --- Rakefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Rakefile b/Rakefile index 1321ba5..0a35243 100644 --- a/Rakefile +++ b/Rakefile @@ -43,6 +43,8 @@ TEST_MODULES = Dir["tests/unit/check_*.c"].map { |n| if DEBUG LDFLAGS << ["-g"] CCFLAGS << ["-g -DDEBUG"] +else + CCFLAGS << "-O2" end desc "Build the binary and man page"