Makefile: add COMPILEALL_OPTS variable to allow overriding compileall options in "make install"

vstinner · GitHub

Currently, compileall options (-j0) are hardcoded. In Fedora, we would like to add --hardlink-dupes option and also control the number of jobs (ex: replace -j0 with -j6).

Fedora downstream issue:

https://bugzilla.redhat.com/show_bug.cgi?id=2138023

PR:

gh-99289: Add COMPILEALL_OPTS to Makefile #99291