lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #28374 from obsidiansystems/binutils-arm

binutils: Pass --build --host on non-arm

authored by

John Ericson and committed by
GitHub
9884a3b1 e6661db2

+6 -1
+6 -1
pkgs/development/tools/misc/binutils/default.nix
··· 84 84 else "-static-libgcc"; 85 85 86 86 # TODO(@Ericson2314): Always pass "--target" and always prefix. 87 - configurePlatforms = stdenv.lib.optionals (targetPlatform != hostPlatform) [ "build" "host" "target" ]; 87 + configurePlatforms = 88 + # TODO(@Ericson2314): Figure out what's going wrong with Arm 89 + if hostPlatform == targetPlatform && targetPlatform.isArm32 90 + then [] 91 + else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target"; 92 + 88 93 configureFlags = 89 94 [ "--enable-shared" "--enable-deterministic-archives" "--disable-werror" ] 90 95 ++ optional (stdenv.system == "mips64el-linux") "--enable-fix-loongson2f-nop"