Skip to content

Commit bf44473

Browse files
committed
Revert "Merge #107253: bintools-wrapper: fix inverted link32 check"
This reverts commit 241c391, reversing changes made to ab8c2b2. These toolchain changes are too problematic, so reverting for now; see #107086 (comment)
1 parent 85b7955 commit bf44473

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkgs/build-support/bintools-wrapper/ld-wrapper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ then
145145
done
146146
fi
147147

148-
if [[ "$link32" = "1" && "$setDynamicLinker" = 1 && -e "@out@/nix-support/dynamic-linker-m32" ]]; then
148+
if [[ "$link32" = "0" && "$setDynamicLinker" = 1 && -e "@out@/nix-support/dynamic-linker-m32" ]]; then
149149
# We have an alternate 32-bit linker and we're producing a 32-bit ELF, let's
150150
# use it.
151151
extraAfter+=(

0 commit comments

Comments
 (0)