Author vstinner
Recipients vstinner
Date 2018-12-14.18:53:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544813610.22.0.788709270274.issue35499@psf.upfronthosting.co.za>
In-reply-to
Content
I wrote PR 11164 to fix the issue.

Example:

$ git clean -fdx
$ ./configure --with-pydebug
$ make profile-opt CFLAGS_NODIST="-O1"
(...)
gcc -pthread -c -Wno-unused-result -Wsign-compare -g -Og -Wall    -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fprofile-generate -I./Include/internal  -I. -I./Include    -DPy_BUILD_CORE -o Programs/python.o ./Programs/python.c
(...)

=> CFLAGS_NODIST is missing: I don't see -O1 in the command line.


With my change:

$ git clean -fdx
$ ./configure --with-pydebug
$ make profile-opt CFLAGS_NODIST="-O1"
(...)
gcc -pthread -c -Wno-unused-result -Wsign-compare -g -Og -Wall    -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -O1 -fprofile-generate -I./Include/internal  -I. -I./Include    -DPy_BUILD_CORE -o Programs/python.o ./Programs/python.c
(...)

=> CFLAGS_NODIST is used: I see "-O1" in the command line.
History
Date User Action Args
2018-12-14 18:53:30vstinnersetrecipients: + vstinner
2018-12-14 18:53:30vstinnersetmessageid: <1544813610.22.0.788709270274.issue35499@psf.upfronthosting.co.za>
2018-12-14 18:53:30vstinnerlinkissue35499 messages
2018-12-14 18:53:30vstinnercreate