mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
Merge pull request #181999 from trofi/gcc-clean-up-configureFlags
gcc: turn configureFlags into a sigle list, not nested list
This commit is contained in:
commit
cb63ee9ff8
@ -195,7 +195,7 @@ let
|
|||||||
++ lib.optional (langJava && javaAntlr != null) "--with-antlr-jar=${javaAntlr}"
|
++ lib.optional (langJava && javaAntlr != null) "--with-antlr-jar=${javaAntlr}"
|
||||||
|
|
||||||
# TODO: aarch64-darwin has clang stdenv and its arch and cpu flag values are incompatible with gcc
|
# TODO: aarch64-darwin has clang stdenv and its arch and cpu flag values are incompatible with gcc
|
||||||
++ lib.optional (!(stdenv.isDarwin && stdenv.isAarch64)) (import ../common/platform-flags.nix { inherit (stdenv) targetPlatform; inherit lib; })
|
++ lib.optionals (!(stdenv.isDarwin && stdenv.isAarch64)) (import ../common/platform-flags.nix { inherit (stdenv) targetPlatform; inherit lib; })
|
||||||
++ lib.optionals (targetPlatform != hostPlatform) crossConfigureFlags
|
++ lib.optionals (targetPlatform != hostPlatform) crossConfigureFlags
|
||||||
++ lib.optional (targetPlatform != hostPlatform) "--disable-bootstrap"
|
++ lib.optional (targetPlatform != hostPlatform) "--disable-bootstrap"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user