Skip to content

Commit

Permalink
gcc6: Restore missing platform flags
Browse files Browse the repository at this point in the history
This was missed in commit 1c12072
("gcc: Refactor treatment of configure flags"), all other GCC versions
have it right.
  • Loading branch information
dezgeg committed Nov 29, 2017
1 parent 0f249a7 commit 703a9f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/development/compilers/gcc/6/default.nix
Expand Up @@ -391,6 +391,7 @@ stdenv.mkDerivation ({
in "--with-native-system-header-dir=${incDir}"
) ++

optional (targetPlatform == hostPlatform) (mkPlatformFlags stdenv.platform) ++
optional (targetPlatform != hostPlatform) crossConfigureFlags ++
optional (!bootstrap) "--disable-bootstrap" ++

Expand Down

0 comments on commit 703a9f9

Please sign in to comment.