non-debug builds get -O2 for impressive bitset speedups
This commit is contained in:
2
Rakefile
2
Rakefile
@@ -43,6 +43,8 @@ TEST_MODULES = Dir["tests/unit/check_*.c"].map { |n|
|
|||||||
if DEBUG
|
if DEBUG
|
||||||
LDFLAGS << ["-g"]
|
LDFLAGS << ["-g"]
|
||||||
CCFLAGS << ["-g -DDEBUG"]
|
CCFLAGS << ["-g -DDEBUG"]
|
||||||
|
else
|
||||||
|
CCFLAGS << "-O2"
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "Build the binary and man page"
|
desc "Build the binary and man page"
|
||||||
|
Reference in New Issue
Block a user