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
@ -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 New Issue
Block a user