sqlite: Enable optimization

Commit a28940d9d5 changed the SQLite
build to use CFLAGS instead of NIX_CFLAGS_COMPILE, but that's really
bad because it clobbers the default -O2 flag. So all this time we had
an unoptimized SQLite build. (This is one of the reasons why
NIX_CFLAGS_COMPILE exists - messing with CFLAGS is almost never a good
idea.)
This commit is contained in:
Eelco Dolstra 2014-10-24 11:39:40 +02:00
parent b4db4db322
commit 2b5ccf8a53

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation {
configureFlags = "--enable-threadsafe";
CFLAGS = "-DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1";
NIX_CFLAGS_COMPILE = "-DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1";
meta = {
homepage = http://www.sqlite.org/;