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:
parent
0f249a7354
commit
703a9f93c1
|
@ -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" ++
|
||||
|
||||
|
|
Loading…
Reference in a new issue