mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
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:
parent
b4db4db322
commit
2b5ccf8a53
@ -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/;
|
||||
|
Loading…
Reference in New Issue
Block a user