mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Use gc, dbi, and dbd-sqlite when cross-building nix
The dbi and dbd-sqlite may be hacks since they're not cross-built, I'm not certain svn path=/nixpkgs/trunk/; revision=30455
This commit is contained in:
parent
a28940d9d5
commit
e895fe5e2f
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,9 @@ stdenv.mkDerivation rec {
|
|||
''
|
||||
--with-store-dir=${storeDir} --localstatedir=${stateDir}
|
||||
--with-bzip2=${bzip2.hostDrv} --with-sqlite=${sqlite.hostDrv}
|
||||
--enable-gc
|
||||
--with-dbi=${perlPackages.DBI}/lib/perl5/site_perl
|
||||
--with-dbd-sqlite=${perlPackages.DBDSQLite}/lib/perl5/site_perl
|
||||
--disable-init-state
|
||||
CFLAGS=-O3 CXXFLAGS=-O3
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue