Skip to content

Commit dfcc6ff

Browse files
authored
bpo-33393: Update config.guess and config.sub (pythonGH-29781)
1 parent e0f8a3e commit dfcc6ff

File tree

4 files changed

+695
-614
lines changed

4 files changed

+695
-614
lines changed

Makefile.pre.in

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

2386+
.PHONY: update-config
2387+
update-config:
2388+
curl -sL -o config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'
2389+
curl -sL -o config.sub 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD'
2390+
chmod +x config.guess config.sub
2391+
23862392
# Dependencies
23872393

23882394
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)