Skip to content

Commit 3f565f8

Browse files
authored
[3.10] bpo-33393: Update config.guess and config.sub (GH-29781) (GH-29782)
Co-authored-by: Christian Heimes <[email protected]>
1 parent 52d10f6 commit 3f565f8

File tree

4 files changed

+2230
-1870
lines changed

4 files changed

+2230
-1870
lines changed

Makefile.pre.in

+6
Original file line numberDiff line numberDiff line change
@@ -2002,6 +2002,12 @@ patchcheck: @DEF_MAKE_RULE@
20022002
check-limited-abi: all
20032003
$(RUNSHARED) ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/stable_abi.py --all $(srcdir)/Misc/stable_abi.txt
20042004

2005+
.PHONY: update-config
2006+
update-config:
2007+
curl -sL -o config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'
2008+
curl -sL -o config.sub 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD'
2009+
chmod +x config.guess config.sub
2010+
20052011
# Dependencies
20062012

20072013
Python/thread.o: @THREADHEADERS@ $(srcdir)/Python/condvar.h
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Update ``config.guess`` to 2021-06-03 and ``config.sub`` to 2021-08-14.
2+
``Makefile`` now has an ``update-config`` target to make updating more
3+
convenient.

0 commit comments

Comments
 (0)