A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-April/052756.html below:

[Python-Dev] Proper place to put extra args for building

[Python-Dev] Proper place to put extra args for building [Python-Dev] Proper place to put extra args for building"Martin v. Löwis" martin at v.loewis.de
Wed Apr 20 08:27:34 CEST 2005
Brett C. wrote:
> I am currently adding some code for a Py_COMPILER_DEBUG build for use on the
> AST branch.  I thought that OPT was the proper variable to put stuff like this
> into for building (``-DPy_COMPILER_DEBUG``), but that erases ``-g -Wall
> -Wstrict-prototypes``.  Obviously I could just tack all of that into my own
> thing, but that seems like an unneeded step.

Actually, this step is needed.

>>From looking at Makefile.pre.in it seems like CFLAGSFORSHARED is meant for
> extra arguments to the compiler.  Is that right?

No. This is the set of flags to be passed to the compiler when compiling
with --enable-shared. It is set in configure.in.

It might be reasonable to add a variable that will just take additional
compiler flags, and never be modified in configure.

Regards,
Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4