Message331856
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. |
|
Date |
User |
Action |
Args |
2018-12-14 19:27:36 | vstinner | set | recipients:
+ vstinner |
2018-12-14 19:27:36 | vstinner | set | messageid: <1544815656.87.0.788709270274.issue35499@psf.upfronthosting.co.za> |
2018-12-14 19:27:36 | vstinner | link | issue35499 messages |
2018-12-14 19:27:36 | vstinner | create | |
|