gcc: Fix cross after I accidentally changed build target
I deleted "bootstrap", but forgot to make the condition build = host = target.
This commit is contained in:
@@ -208,7 +208,7 @@ stdenv.mkDerivation ({
|
|||||||
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
|
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
|
||||||
|
|
||||||
buildFlags = optional
|
buildFlags = optional
|
||||||
(hostPlatform == buildPlatform)
|
(targetPlatform == hostPlatform && hostPlatform == buildPlatform)
|
||||||
(if profiledCompiler then "profiledbootstrap" else "bootstrap");
|
(if profiledCompiler then "profiledbootstrap" else "bootstrap");
|
||||||
|
|
||||||
dontStrip = !stripped;
|
dontStrip = !stripped;
|
||||||
|
|||||||
@@ -214,7 +214,7 @@ stdenv.mkDerivation ({
|
|||||||
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
|
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
|
||||||
|
|
||||||
buildFlags = optional
|
buildFlags = optional
|
||||||
(hostPlatform == buildPlatform)
|
(targetPlatform == hostPlatform && hostPlatform == buildPlatform)
|
||||||
(if profiledCompiler then "profiledbootstrap" else "bootstrap");
|
(if profiledCompiler then "profiledbootstrap" else "bootstrap");
|
||||||
|
|
||||||
dontStrip = !stripped;
|
dontStrip = !stripped;
|
||||||
|
|||||||
@@ -221,7 +221,7 @@ stdenv.mkDerivation ({
|
|||||||
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
|
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
|
||||||
|
|
||||||
buildFlags = optional
|
buildFlags = optional
|
||||||
(hostPlatform == buildPlatform)
|
(targetPlatform == hostPlatform && hostPlatform == buildPlatform)
|
||||||
(if profiledCompiler then "profiledbootstrap" else "bootstrap");
|
(if profiledCompiler then "profiledbootstrap" else "bootstrap");
|
||||||
|
|
||||||
dontStrip = !stripped;
|
dontStrip = !stripped;
|
||||||
|
|||||||
@@ -223,7 +223,7 @@ stdenv.mkDerivation ({
|
|||||||
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
|
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
|
||||||
|
|
||||||
buildFlags = optional
|
buildFlags = optional
|
||||||
(hostPlatform == buildPlatform)
|
(targetPlatform == hostPlatform && hostPlatform == buildPlatform)
|
||||||
(if profiledCompiler then "profiledbootstrap" else "bootstrap");
|
(if profiledCompiler then "profiledbootstrap" else "bootstrap");
|
||||||
|
|
||||||
dontStrip = !stripped;
|
dontStrip = !stripped;
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ stdenv.mkDerivation ({
|
|||||||
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
|
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
|
||||||
|
|
||||||
buildFlags = optional
|
buildFlags = optional
|
||||||
(hostPlatform == buildPlatform)
|
(targetPlatform == hostPlatform && hostPlatform == buildPlatform)
|
||||||
(if profiledCompiler then "profiledbootstrap" else "bootstrap");
|
(if profiledCompiler then "profiledbootstrap" else "bootstrap");
|
||||||
|
|
||||||
dontStrip = !stripped;
|
dontStrip = !stripped;
|
||||||
|
|||||||
@@ -184,7 +184,7 @@ stdenv.mkDerivation ({
|
|||||||
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
|
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
|
||||||
|
|
||||||
buildFlags = optional
|
buildFlags = optional
|
||||||
(hostPlatform == buildPlatform)
|
(targetPlatform == hostPlatform && hostPlatform == buildPlatform)
|
||||||
(if profiledCompiler then "profiledbootstrap" else "bootstrap");
|
(if profiledCompiler then "profiledbootstrap" else "bootstrap");
|
||||||
|
|
||||||
dontStrip = !stripped;
|
dontStrip = !stripped;
|
||||||
|
|||||||
@@ -183,7 +183,7 @@ stdenv.mkDerivation ({
|
|||||||
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
|
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
|
||||||
|
|
||||||
buildFlags = optional
|
buildFlags = optional
|
||||||
(hostPlatform == buildPlatform)
|
(targetPlatform == hostPlatform && hostPlatform == buildPlatform)
|
||||||
(if profiledCompiler then "profiledbootstrap" else "bootstrap");
|
(if profiledCompiler then "profiledbootstrap" else "bootstrap");
|
||||||
|
|
||||||
dontStrip = !stripped;
|
dontStrip = !stripped;
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ stdenv.mkDerivation ({
|
|||||||
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
|
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
|
||||||
|
|
||||||
buildFlags = optional
|
buildFlags = optional
|
||||||
(hostPlatform == buildPlatform)
|
(targetPlatform == hostPlatform && hostPlatform == buildPlatform)
|
||||||
(if profiledCompiler then "profiledbootstrap" else "bootstrap");
|
(if profiledCompiler then "profiledbootstrap" else "bootstrap");
|
||||||
|
|
||||||
dontStrip = !stripped;
|
dontStrip = !stripped;
|
||||||
|
|||||||
Reference in New Issue
Block a user