gcc6: Restore missing platform flags

This was missed in commit 1c1207220f
("gcc: Refactor treatment of configure flags"), all other GCC versions
have it right.
This commit is contained in:
Tuomas Tynkkynen 2017-11-29 22:51:58 +02:00
parent 0f249a7354
commit 703a9f93c1
1 changed files with 1 additions and 0 deletions

View File

@ -391,6 +391,7 @@ stdenv.mkDerivation ({
in "--with-native-system-header-dir=${incDir}" in "--with-native-system-header-dir=${incDir}"
) ++ ) ++
optional (targetPlatform == hostPlatform) (mkPlatformFlags stdenv.platform) ++
optional (targetPlatform != hostPlatform) crossConfigureFlags ++ optional (targetPlatform != hostPlatform) crossConfigureFlags ++
optional (!bootstrap) "--disable-bootstrap" ++ optional (!bootstrap) "--disable-bootstrap" ++