This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Cannot override some flags in CFLAGS from the command-line
Type: behavior Stage:
Components: Build Versions: Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: phantal
Priority: normal Keywords:

Created on 2017-01-13 18:53 by phantal, last changed 2022-04-11 14:58 by admin.

Messages (2)
msg285435 - (view) Author: Brian Vandenberg (phantal) Date: 2017-01-13 18:53
Due to issue 29264 I was attempting to override the build default "-std=c99" with:

    /path/to/configure (...) CFLAGS=-std=gnu99

... however, the configure script is written like this:

    CFLAGS_NODIST="$CFLAGS_NODIST -std=c99"

This causes it to always override my attempt to override the build default.
msg285951 - (view) Author: Xavier de Gaye (xdegaye) * (Python triager) Date: 2017-01-21 11:26
Please try:
make CFLAGS_NODIST=-std=gnu99
History
Date User Action Args
2022-04-11 14:58:42adminsetgithub: 73453
2019-12-10 08:12:47xdegayesetnosy: - xdegaye
2017-01-21 11:26:23xdegayesetnosy: + xdegaye
messages: + msg285951
2017-01-13 18:53:57phantalcreate