3
0
Fork 0
forked from mirrors/nixpkgs

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

View file

@ -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" ++