Make the debug build compile with -Og
Due to Python's handling of CFLAGS and the way we were passing extra compiler flags through the SPEC the -Og flag for the debug build was overridden by the -O2 flag, resulting in various side effects. See: https://bugs.python.org/issue37631 Resolves: rhbz#1678277
This commit is contained in:
parent
8e2dbb0fbf
commit
2eefe4e7c0
@ -690,7 +690,7 @@ BuildPython() {
|
||||
|
||||
|
||||
# Invoke the build
|
||||
%make_build EXTRA_CFLAGS="$CFLAGS $MoreCFlags"
|
||||
%make_build CFLAGS_NODIST="$CFLAGS_NODIST $MoreCFlags"
|
||||
|
||||
popd
|
||||
echo FINISHED: BUILD OF PYTHON FOR CONFIGURATION: $ConfName
|
||||
|
Loading…
Reference in New Issue
Block a user