3
0
Fork 0
forked from mirrors/nixpkgs

firefox: provide clang configure flags on i686

With the upgrade to firefox 62 clang flags are now required on i686.
This commit is contained in:
Andreas Rammhold 2018-09-11 10:12:06 +02:00
parent 747500e0cf
commit acf4a4eff3

View file

@ -152,8 +152,7 @@ stdenv.mkDerivation (rec {
"--enable-default-toolkit=cairo-gtk${if gtk3Support then "3" else "2"}"
]
++ lib.optional (lib.versionOlder version "61") "--enable-system-hunspell"
++ lib.optionals (lib.versionAtLeast version "56" && !stdenv.hostPlatform.isi686) [
# on i686-linux: --with-libclang-path is not available in this configuration
++ lib.optionals (lib.versionAtLeast version "56") [
"--with-libclang-path=${llvmPackages.libclang}/lib"
"--with-clang-path=${llvmPackages.clang}/bin/clang"
]