pkgs/development/libraries/sqlite/default.nix: enable amalgamation build

Sqlite has a build mode called "amalgamation" that gathers all 90+ source code
files into a single sqlite3.c file before compiling the library. Building
sqlite this way reportedly gives a 5-10% performance gain because the compiler
can perform more sophisticated optimizations.

svn path=/nixpkgs/trunk/; revision=18092
This commit is contained in:
Peter Simons 2009-11-04 13:07:27 +00:00
parent 600d6a9bac
commit dd1a6f8ab1

View file

@ -13,9 +13,10 @@ stdenv.mkDerivation rec {
buildInputs = [readline tcl];
configureFlags = ''
CFLAGS=-O3
--enable-load-extension
${if static then "--disable-shared --enable-static" else ""}
--disable-amalgamation
--enable-amalgamation
--enable-threadsafe
--disable-cross-thread-connections
--disable-tcl