Message331851
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. |
|
Date |
User |
Action |
Args |
2018-12-14 18:53:30 | vstinner | set | recipients:
+ vstinner |
2018-12-14 18:53:30 | vstinner | set | messageid: <1544813610.22.0.788709270274.issue35499@psf.upfronthosting.co.za> |
2018-12-14 18:53:30 | vstinner | link | issue35499 messages |
2018-12-14 18:53:30 | vstinner | create | |
|