gcc6: Restore missing platform flags
This was missed in commit 1c1207220f06 ("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}"
|
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" ++
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user