Issue 640843: Fix breakage caused when user sets OPT (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/37504

classification

Title: Fix breakage caused when user sets OPT
Type: Stage:
Components: Build Versions:

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: skip.montanaro Nosy List: skip.montanaro
Priority: normal Keywords: patch

Created on 2002-11-19 18:05 by skip.montanaro, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
opt.diff skip.montanaro,2002-12-31 17:02
Messages (6)
msg41699 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2002-11-19 18:05
The attached patch tries to fix the problems caused by overloading OPT in ./configure. The problem is that OPT contains two different kinds of information, optimization/debug flags and other flags which are required to get code to simply compile. If you override OPT when running configure or make, you may wipe out compiler flags necessary to simply compile the interpreter. This needs some testing.
msg41700 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2002-11-20 02:24
Logged In: YES user_id=44345 uploading new context diff - forgot to rerun autoconf after thelast change to configure.in... :-(
msg41701 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2002-11-20 02:25
Logged In: YES user_id=44345 uploading new context diff - forgot to rerun autoconf after thelast change to configure.in... :-(
msg41702 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2002-11-20 02:27
Logged In: YES user_id=44345 dang opera seems to be having file upload problems. Guess it's back to Exploder... You should be able to trim the binary garbage from the start and end of the file and get a clean patch. The first word should be "Index" and the last line should end in "@LDLAST@"
msg41703 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2002-12-31 17:02
Logged In: YES user_id=44345 Latest version. It's a monster patch only because I included the diffs for configure. Other than the addition of a blurb to Misc/NEWS I'm not sure there's any difference from my November patch. There are a couple unrelated lines in setup.py to search the fink directories on Darwin.
msg41704 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2003-01-01 20:09
Logged In: YES user_id=44345 Checked in as: Makefile.pre.in 1.108 configure 1.373 configure.in 1.384 setup.py 1.132 Misc/NEWS 1.588
History
Date User Action Args
2022-04-10 16:05:55 admin set github: 37504
2002-11-19 18:05:20 skip.montanaro create