Merge pull request #35247 from telent/mips32
lib, treewide: Add missing MIPS arches, and fix existing usage
This commit is contained in:
@@ -317,8 +317,8 @@ stdenv.mkDerivation ({
|
||||
|
||||
# Platform-specific flags
|
||||
optional (targetPlatform == hostPlatform && targetPlatform.isi686) "--with-arch=i686" ++
|
||||
# Trick that should be taken out once we have a mips64el-linux not loongson2f
|
||||
optional (targetPlatform == hostPlatform && stdenv.system == "mips64el-linux") "--with-arch=loongson2f"
|
||||
# Trick that should be taken out once we have a mipsel-linux not loongson2f
|
||||
optional (targetPlatform == hostPlatform && stdenv.system == "mipsel-linux") "--with-arch=loongson2f"
|
||||
;
|
||||
|
||||
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
|
||||
|
||||
Reference in New Issue
Block a user