mirror of https://github.com/python/cpython
bpo-45548: FreeBSD doesn't like auto vars in makesetup (GH-29216)
This commit is contained in:
parent
ece916e92c
commit
2b8677a3cd
|
@ -236,7 +236,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
|
||||||
cc="$cc \$(PY_BUILTIN_MODULE_CFLAGS)";;
|
cc="$cc \$(PY_BUILTIN_MODULE_CFLAGS)";;
|
||||||
esac
|
esac
|
||||||
mods_upper=$(echo $mods | tr '[a-z]' '[A-Z]')
|
mods_upper=$(echo $mods | tr '[a-z]' '[A-Z]')
|
||||||
rule="$obj: $src \$(MODULE_${mods_upper}_DEPS) \$(PYTHON_HEADERS); $cc $cpps -c \$< -o \$@"
|
rule="$obj: $src \$(MODULE_${mods_upper}_DEPS) \$(PYTHON_HEADERS); $cc $cpps -c $src -o $obj"
|
||||||
echo "$rule" >>$rulesf
|
echo "$rule" >>$rulesf
|
||||||
done
|
done
|
||||||
case $doconfig in
|
case $doconfig in
|
||||||
|
@ -249,7 +249,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
|
||||||
no) SHAREDMODS="$SHAREDMODS $file";;
|
no) SHAREDMODS="$SHAREDMODS $file";;
|
||||||
esac
|
esac
|
||||||
rule="$file: $objs"
|
rule="$file: $objs"
|
||||||
rule="$rule; \$(BLDSHARED) $objs $libs $ExtraLibs -o \$@"
|
rule="$rule; \$(BLDSHARED) $objs $libs $ExtraLibs -o $file"
|
||||||
echo "$rule" >>$rulesf
|
echo "$rule" >>$rulesf
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue