Include -g in LDFLAGS sent to the linker (rhbz#1483222)
Include -g flag for both compilation and linking so that the debugging information is correctly generated.
This commit is contained in:
parent
09ce861b30
commit
d87ca42573
|
@ -125,7 +125,7 @@ Name: python3
|
|||
# WARNING When rebasing to a new Python version,
|
||||
# remember to update the python3-docs package as well
|
||||
Version: %{pybasever}.2
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
License: Python
|
||||
Group: Development/Languages
|
||||
|
||||
|
@ -732,7 +732,7 @@ export CPPFLAGS="`pkg-config --cflags-only-I libffi`"
|
|||
export OPT="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC -fwrapv"
|
||||
export LINKCC="gcc"
|
||||
export CFLAGS="$CFLAGS `pkg-config --cflags openssl`"
|
||||
export LDFLAGS="$RPM_LD_FLAGS `pkg-config --libs-only-L openssl`"
|
||||
export LDFLAGS="$RPM_LD_FLAGS -g `pkg-config --libs-only-L openssl`"
|
||||
|
||||
|
||||
# Define a function, for how to perform a "build" of python for a given
|
||||
|
@ -1667,6 +1667,10 @@ fi
|
|||
# ======================================================
|
||||
|
||||
%changelog
|
||||
* Wed Sep 06 2017 Iryna Shcherbina <ishcherb@redhat.com> - 3.6.2-7
|
||||
- Include `-g` in the flags sent to the linker (LDFLAGS)
|
||||
Resolves: rhbz#1483222
|
||||
|
||||
* Mon Aug 28 2017 Michal Cyprian <mcyprian@redhat.com> - 3.6.2-6
|
||||
- Use python3 style of calling super() without arguments in rpath
|
||||
patch to prevent recursion in UnixCCompiler subclasses
|
||||
|
|
Loading…
Reference in New Issue