cc-wrapper: Fix a typo in param parsing (close #14401)
This commit is contained in:
parent
d681d580ae
commit
6c9ce23c00
@ -46,9 +46,9 @@ while [ $n -lt ${#params[*]} ]; do
|
||||
isCpp=1
|
||||
elif [ "$p" = -nostdlib ]; then
|
||||
isCpp=-1
|
||||
elif [ "${i:0:1}" != - ]; then
|
||||
elif [ "${p:0:1}" != - ]; then
|
||||
nonFlagArgs=1
|
||||
elif [ "$i" = -m32 ]; then
|
||||
elif [ "$p" = -m32 ]; then
|
||||
if [ -e @out@/nix-support/dynamic-linker-m32 ]; then
|
||||
NIX_LDFLAGS="$NIX_LDFLAGS -dynamic-linker $(cat @out@/nix-support/dynamic-linker-m32)"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user