lib, gcc: No inherit (platform) gcc;
in {host,build,target}Platform
This commit is contained in:
parent
74cbb5796e
commit
1fe9798ac2
|
@ -18,7 +18,6 @@ rec {
|
||||||
libc = "glibc";
|
libc = "glibc";
|
||||||
platform = platforms.sheevaplug;
|
platform = platforms.sheevaplug;
|
||||||
openssl.system = "linux-generic32";
|
openssl.system = "linux-generic32";
|
||||||
inherit (platform) gcc;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
raspberryPi = rec {
|
raspberryPi = rec {
|
||||||
|
@ -31,7 +30,6 @@ rec {
|
||||||
libc = "glibc";
|
libc = "glibc";
|
||||||
platform = platforms.raspberrypi;
|
platform = platforms.raspberrypi;
|
||||||
openssl.system = "linux-generic32";
|
openssl.system = "linux-generic32";
|
||||||
inherit (platform) gcc;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
armv7l-hf-multiplatform = rec {
|
armv7l-hf-multiplatform = rec {
|
||||||
|
@ -44,7 +42,6 @@ rec {
|
||||||
libc = "glibc";
|
libc = "glibc";
|
||||||
platform = platforms.armv7l-hf-multiplatform;
|
platform = platforms.armv7l-hf-multiplatform;
|
||||||
openssl.system = "linux-generic32";
|
openssl.system = "linux-generic32";
|
||||||
inherit (platform) gcc;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
aarch64-multiplatform = rec {
|
aarch64-multiplatform = rec {
|
||||||
|
@ -54,13 +51,11 @@ rec {
|
||||||
withTLS = true;
|
withTLS = true;
|
||||||
libc = "glibc";
|
libc = "glibc";
|
||||||
platform = platforms.aarch64-multiplatform;
|
platform = platforms.aarch64-multiplatform;
|
||||||
inherit (platform) gcc;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
scaleway-c1 = armv7l-hf-multiplatform // rec {
|
scaleway-c1 = armv7l-hf-multiplatform // rec {
|
||||||
platform = platforms.scaleway-c1;
|
platform = platforms.scaleway-c1;
|
||||||
inherit (platform) gcc;
|
inherit (platform.gcc) fpu;
|
||||||
inherit (gcc) fpu;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
pogoplug4 = rec {
|
pogoplug4 = rec {
|
||||||
|
@ -70,7 +65,6 @@ rec {
|
||||||
|
|
||||||
platform = platforms.pogoplug4;
|
platform = platforms.pogoplug4;
|
||||||
|
|
||||||
inherit (platform) gcc;
|
|
||||||
libc = "glibc";
|
libc = "glibc";
|
||||||
|
|
||||||
withTLS = true;
|
withTLS = true;
|
||||||
|
@ -86,7 +80,6 @@ rec {
|
||||||
libc = "glibc";
|
libc = "glibc";
|
||||||
platform = platforms.fuloong2f_n32;
|
platform = platforms.fuloong2f_n32;
|
||||||
openssl.system = "linux-generic32";
|
openssl.system = "linux-generic32";
|
||||||
inherit (platform) gcc;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -65,12 +65,12 @@ let version = "4.5.4";
|
||||||
|
|
||||||
/* Platform flags */
|
/* Platform flags */
|
||||||
platformFlags = let
|
platformFlags = let
|
||||||
gccArch = targetPlatform.gcc.arch or null;
|
gccArch = targetPlatform.platform.gcc.arch or null;
|
||||||
gccCpu = targetPlatform.gcc.cpu or null;
|
gccCpu = targetPlatform.platform.gcc.cpu or null;
|
||||||
gccAbi = targetPlatform.gcc.abi or null;
|
gccAbi = targetPlatform.platform.gcc.abi or null;
|
||||||
gccFpu = targetPlatform.gcc.fpu or null;
|
gccFpu = targetPlatform.platform.gcc.fpu or null;
|
||||||
gccFloat = targetPlatform.gcc.float or null;
|
gccFloat = targetPlatform.platform.gcc.float or null;
|
||||||
gccMode = targetPlatform.gcc.mode or null;
|
gccMode = targetPlatform.platform.gcc.mode or null;
|
||||||
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
||||||
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
||||||
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
||||||
|
|
|
@ -98,12 +98,12 @@ let version = "4.8.5";
|
||||||
|
|
||||||
/* Platform flags */
|
/* Platform flags */
|
||||||
platformFlags = let
|
platformFlags = let
|
||||||
gccArch = targetPlatform.gcc.arch or null;
|
gccArch = targetPlatform.platform.gcc.arch or null;
|
||||||
gccCpu = targetPlatform.gcc.cpu or null;
|
gccCpu = targetPlatform.platform.gcc.cpu or null;
|
||||||
gccAbi = targetPlatform.gcc.abi or null;
|
gccAbi = targetPlatform.platform.gcc.abi or null;
|
||||||
gccFpu = targetPlatform.gcc.fpu or null;
|
gccFpu = targetPlatform.platform.gcc.fpu or null;
|
||||||
gccFloat = targetPlatform.gcc.float or null;
|
gccFloat = targetPlatform.platform.gcc.float or null;
|
||||||
gccMode = targetPlatform.gcc.mode or null;
|
gccMode = targetPlatform.platform.gcc.mode or null;
|
||||||
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
||||||
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
||||||
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
||||||
|
@ -122,12 +122,12 @@ let version = "4.8.5";
|
||||||
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
|
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
|
||||||
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
|
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
|
||||||
crossConfigureFlags = let
|
crossConfigureFlags = let
|
||||||
gccArch = targetPlatform.gcc.arch or null;
|
gccArch = targetPlatform.platform.gcc.arch or null;
|
||||||
gccCpu = targetPlatform.gcc.cpu or null;
|
gccCpu = targetPlatform.platform.gcc.cpu or null;
|
||||||
gccAbi = targetPlatform.gcc.abi or null;
|
gccAbi = targetPlatform.platform.gcc.abi or null;
|
||||||
gccFpu = targetPlatform.gcc.fpu or null;
|
gccFpu = targetPlatform.platform.gcc.fpu or null;
|
||||||
gccFloat = targetPlatform.gcc.float or null;
|
gccFloat = targetPlatform.platform.gcc.float or null;
|
||||||
gccMode = targetPlatform.gcc.mode or null;
|
gccMode = targetPlatform.platform.gcc.mode or null;
|
||||||
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
||||||
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
||||||
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
||||||
|
|
|
@ -100,12 +100,12 @@ let version = "4.9.4";
|
||||||
|
|
||||||
/* Platform flags */
|
/* Platform flags */
|
||||||
platformFlags = let
|
platformFlags = let
|
||||||
gccArch = targetPlatform.gcc.arch or null;
|
gccArch = targetPlatform.platform.gcc.arch or null;
|
||||||
gccCpu = targetPlatform.gcc.cpu or null;
|
gccCpu = targetPlatform.platform.gcc.cpu or null;
|
||||||
gccAbi = targetPlatform.gcc.abi or null;
|
gccAbi = targetPlatform.platform.gcc.abi or null;
|
||||||
gccFpu = targetPlatform.gcc.fpu or null;
|
gccFpu = targetPlatform.platform.gcc.fpu or null;
|
||||||
gccFloat = targetPlatform.gcc.float or null;
|
gccFloat = targetPlatform.platform.gcc.float or null;
|
||||||
gccMode = targetPlatform.gcc.mode or null;
|
gccMode = targetPlatform.platform.gcc.mode or null;
|
||||||
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
||||||
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
||||||
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
||||||
|
@ -124,12 +124,12 @@ let version = "4.9.4";
|
||||||
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
|
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
|
||||||
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
|
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
|
||||||
crossConfigureFlags = let
|
crossConfigureFlags = let
|
||||||
gccArch = targetPlatform.gcc.arch or null;
|
gccArch = targetPlatform.platform.gcc.arch or null;
|
||||||
gccCpu = targetPlatform.gcc.cpu or null;
|
gccCpu = targetPlatform.platform.gcc.cpu or null;
|
||||||
gccAbi = targetPlatform.gcc.abi or null;
|
gccAbi = targetPlatform.platform.gcc.abi or null;
|
||||||
gccFpu = targetPlatform.gcc.fpu or null;
|
gccFpu = targetPlatform.platform.gcc.fpu or null;
|
||||||
gccFloat = targetPlatform.gcc.float or null;
|
gccFloat = targetPlatform.platform.gcc.float or null;
|
||||||
gccMode = targetPlatform.gcc.mode or null;
|
gccMode = targetPlatform.platform.gcc.mode or null;
|
||||||
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
||||||
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
||||||
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
||||||
|
|
|
@ -104,12 +104,12 @@ let version = "5.4.0";
|
||||||
|
|
||||||
/* Platform flags */
|
/* Platform flags */
|
||||||
platformFlags = let
|
platformFlags = let
|
||||||
gccArch = targetPlatform.gcc.arch or null;
|
gccArch = targetPlatform.platform.gcc.arch or null;
|
||||||
gccCpu = targetPlatform.gcc.cpu or null;
|
gccCpu = targetPlatform.platform.gcc.cpu or null;
|
||||||
gccAbi = targetPlatform.gcc.abi or null;
|
gccAbi = targetPlatform.platform.gcc.abi or null;
|
||||||
gccFpu = targetPlatform.gcc.fpu or null;
|
gccFpu = targetPlatform.platform.gcc.fpu or null;
|
||||||
gccFloat = targetPlatform.gcc.float or null;
|
gccFloat = targetPlatform.platform.gcc.float or null;
|
||||||
gccMode = targetPlatform.gcc.mode or null;
|
gccMode = targetPlatform.platform.gcc.mode or null;
|
||||||
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
||||||
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
||||||
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
||||||
|
@ -128,12 +128,12 @@ let version = "5.4.0";
|
||||||
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
|
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
|
||||||
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
|
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
|
||||||
crossConfigureFlags = let
|
crossConfigureFlags = let
|
||||||
gccArch = targetPlatform.gcc.arch or null;
|
gccArch = targetPlatform.platform.gcc.arch or null;
|
||||||
gccCpu = targetPlatform.gcc.cpu or null;
|
gccCpu = targetPlatform.platform.gcc.cpu or null;
|
||||||
gccAbi = targetPlatform.gcc.abi or null;
|
gccAbi = targetPlatform.platform.gcc.abi or null;
|
||||||
gccFpu = targetPlatform.gcc.fpu or null;
|
gccFpu = targetPlatform.platform.gcc.fpu or null;
|
||||||
gccFloat = targetPlatform.gcc.float or null;
|
gccFloat = targetPlatform.platform.gcc.float or null;
|
||||||
gccMode = targetPlatform.gcc.mode or null;
|
gccMode = targetPlatform.platform.gcc.mode or null;
|
||||||
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
||||||
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
||||||
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
||||||
|
|
|
@ -100,12 +100,12 @@ let version = "6.3.0";
|
||||||
|
|
||||||
/* Platform flags */
|
/* Platform flags */
|
||||||
platformFlags = let
|
platformFlags = let
|
||||||
gccArch = targetPlatform.gcc.arch or null;
|
gccArch = targetPlatform.platform.gcc.arch or null;
|
||||||
gccCpu = targetPlatform.gcc.cpu or null;
|
gccCpu = targetPlatform.platform.gcc.cpu or null;
|
||||||
gccAbi = targetPlatform.gcc.abi or null;
|
gccAbi = targetPlatform.platform.gcc.abi or null;
|
||||||
gccFpu = targetPlatform.gcc.fpu or null;
|
gccFpu = targetPlatform.platform.gcc.fpu or null;
|
||||||
gccFloat = targetPlatform.gcc.float or null;
|
gccFloat = targetPlatform.platform.gcc.float or null;
|
||||||
gccMode = targetPlatform.gcc.mode or null;
|
gccMode = targetPlatform.platform.gcc.mode or null;
|
||||||
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
||||||
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
||||||
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
||||||
|
@ -124,12 +124,12 @@ let version = "6.3.0";
|
||||||
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
|
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
|
||||||
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
|
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
|
||||||
crossConfigureFlags = let
|
crossConfigureFlags = let
|
||||||
gccArch = targetPlatform.gcc.arch or null;
|
gccArch = targetPlatform.platform.gcc.arch or null;
|
||||||
gccCpu = targetPlatform.gcc.cpu or null;
|
gccCpu = targetPlatform.platform.gcc.cpu or null;
|
||||||
gccAbi = targetPlatform.gcc.abi or null;
|
gccAbi = targetPlatform.platform.gcc.abi or null;
|
||||||
gccFpu = targetPlatform.gcc.fpu or null;
|
gccFpu = targetPlatform.platform.gcc.fpu or null;
|
||||||
gccFloat = targetPlatform.gcc.float or null;
|
gccFloat = targetPlatform.platform.gcc.float or null;
|
||||||
gccMode = targetPlatform.gcc.mode or null;
|
gccMode = targetPlatform.platform.gcc.mode or null;
|
||||||
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
||||||
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
||||||
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
||||||
|
|
|
@ -100,12 +100,12 @@ let version = "7.1.0";
|
||||||
|
|
||||||
/* Platform flags */
|
/* Platform flags */
|
||||||
platformFlags = let
|
platformFlags = let
|
||||||
gccArch = targetPlatform.gcc.arch or null;
|
gccArch = targetPlatform.platform.gcc.arch or null;
|
||||||
gccCpu = targetPlatform.gcc.cpu or null;
|
gccCpu = targetPlatform.platform.gcc.cpu or null;
|
||||||
gccAbi = targetPlatform.gcc.abi or null;
|
gccAbi = targetPlatform.platform.gcc.abi or null;
|
||||||
gccFpu = targetPlatform.gcc.fpu or null;
|
gccFpu = targetPlatform.platform.gcc.fpu or null;
|
||||||
gccFloat = targetPlatform.gcc.float or null;
|
gccFloat = targetPlatform.platform.gcc.float or null;
|
||||||
gccMode = targetPlatform.gcc.mode or null;
|
gccMode = targetPlatform.platform.gcc.mode or null;
|
||||||
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
||||||
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
||||||
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
||||||
|
@ -124,12 +124,12 @@ let version = "7.1.0";
|
||||||
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
|
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
|
||||||
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
|
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
|
||||||
crossConfigureFlags = let
|
crossConfigureFlags = let
|
||||||
gccArch = targetPlatform.gcc.arch or null;
|
gccArch = targetPlatform.platform.gcc.arch or null;
|
||||||
gccCpu = targetPlatform.gcc.cpu or null;
|
gccCpu = targetPlatform.platform.gcc.cpu or null;
|
||||||
gccAbi = targetPlatform.gcc.abi or null;
|
gccAbi = targetPlatform.platform.gcc.abi or null;
|
||||||
gccFpu = targetPlatform.gcc.fpu or null;
|
gccFpu = targetPlatform.platform.gcc.fpu or null;
|
||||||
gccFloat = targetPlatform.gcc.float or null;
|
gccFloat = targetPlatform.platform.gcc.float or null;
|
||||||
gccMode = targetPlatform.gcc.mode or null;
|
gccMode = targetPlatform.platform.gcc.mode or null;
|
||||||
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
||||||
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
||||||
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
||||||
|
|
|
@ -100,12 +100,12 @@ let version = "7-20170409";
|
||||||
|
|
||||||
/* Platform flags */
|
/* Platform flags */
|
||||||
platformFlags = let
|
platformFlags = let
|
||||||
gccArch = targetPlatform.gcc.arch or null;
|
gccArch = targetPlatform.platform.gcc.arch or null;
|
||||||
gccCpu = targetPlatform.gcc.cpu or null;
|
gccCpu = targetPlatform.platform.gcc.cpu or null;
|
||||||
gccAbi = targetPlatform.gcc.abi or null;
|
gccAbi = targetPlatform.platform.gcc.abi or null;
|
||||||
gccFpu = targetPlatform.gcc.fpu or null;
|
gccFpu = targetPlatform.platform.gcc.fpu or null;
|
||||||
gccFloat = targetPlatform.gcc.float or null;
|
gccFloat = targetPlatform.platform.gcc.float or null;
|
||||||
gccMode = targetPlatform.gcc.mode or null;
|
gccMode = targetPlatform.platform.gcc.mode or null;
|
||||||
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
||||||
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
||||||
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
||||||
|
@ -124,12 +124,12 @@ let version = "7-20170409";
|
||||||
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
|
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
|
||||||
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
|
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
|
||||||
crossConfigureFlags = let
|
crossConfigureFlags = let
|
||||||
gccArch = targetPlatform.gcc.arch or null;
|
gccArch = targetPlatform.platform.gcc.arch or null;
|
||||||
gccCpu = targetPlatform.gcc.cpu or null;
|
gccCpu = targetPlatform.platform.gcc.cpu or null;
|
||||||
gccAbi = targetPlatform.gcc.abi or null;
|
gccAbi = targetPlatform.platform.gcc.abi or null;
|
||||||
gccFpu = targetPlatform.gcc.fpu or null;
|
gccFpu = targetPlatform.platform.gcc.fpu or null;
|
||||||
gccFloat = targetPlatform.gcc.float or null;
|
gccFloat = targetPlatform.platform.gcc.float or null;
|
||||||
gccMode = targetPlatform.gcc.mode or null;
|
gccMode = targetPlatform.platform.gcc.mode or null;
|
||||||
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
||||||
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
||||||
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
||||||
|
|
Loading…
Reference in a new issue