mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 01:04:25 +00:00
x264: flatten configureFlags (#118789)
This commit is contained in:
parent
ff5ff66ef3
commit
9741a4b3b4
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
export AS=$CC
|
||||
'';
|
||||
|
||||
configureFlags = lib.optional enableShared [ "--enable-shared" ]
|
||||
configureFlags = lib.optional enableShared "--enable-shared"
|
||||
++ lib.optional (!stdenv.isi686) "--enable-pic"
|
||||
++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "--cross-prefix=${stdenv.cc.targetPrefix}";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user