Author vstinner
Recipients vstinner
Date 2018-12-14.19:27:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544815656.87.0.788709270274.issue35499@psf.upfronthosting.co.za>
In-reply-to
Content
I also tested CFLAGS, just in case.

Current behavior:

$ git clean -fdx
$ ./configure --with-pydebug
$ make profile-opt CFLAGS="-O1"
(...)
gcc -pthread -c -Wno-unused-result -Wsign-compare -g -Og -Wall  -O1  -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 is respected: I see -O1 in the command line.


With PR 11164:

$ git clean -fdx
$ ./configure --with-pydebug
$ make profile-opt CFLAGS="-O1"
(...)
gcc -pthread -c -Wno-unused-result -Wsign-compare -g -Og -Wall  -O1  -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 is respected: I see -O1 in the command line.
History
Date User Action Args
2018-12-14 19:27:36vstinnersetrecipients: + vstinner
2018-12-14 19:27:36vstinnersetmessageid: <1544815656.87.0.788709270274.issue35499@psf.upfronthosting.co.za>
2018-12-14 19:27:36vstinnerlinkissue35499 messages
2018-12-14 19:27:36vstinnercreate