Remove SSL_LIB acquired by readlink from CFLAGS
This commit is contained in:
parent
eb2cecdd0c
commit
841e095c2d
@ -16,7 +16,7 @@ BuildRequires: perl-devel pkgconfig openssl-devel
|
|||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: systemd-units
|
BuildRequires: systemd-units
|
||||||
Version: 2.6.2
|
Version: 2.6.2
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Url: http://www.openwsman.org/
|
Url: http://www.openwsman.org/
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -184,7 +184,6 @@ rm -rf build
|
|||||||
mkdir build
|
mkdir build
|
||||||
|
|
||||||
export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -DFEDORA -DNO_SSL_CALLBACK"
|
export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -DFEDORA -DNO_SSL_CALLBACK"
|
||||||
export SSL_LIB=`readlink %{_libdir}/libssl.so`
|
|
||||||
export CFLAGS="-D_GNU_SOURCE -fPIE -DPIE"
|
export CFLAGS="-D_GNU_SOURCE -fPIE -DPIE"
|
||||||
export LDFLAGS="$LDFLAGS -Wl,-z,now -pie"
|
export LDFLAGS="$LDFLAGS -Wl,-z,now -pie"
|
||||||
cd build
|
cd build
|
||||||
@ -199,7 +198,7 @@ cmake \
|
|||||||
-DLIB=%{_lib} \
|
-DLIB=%{_lib} \
|
||||||
..
|
..
|
||||||
|
|
||||||
make CFLAGS="-DSSL_LIB='\"$SSL_LIB\"'"
|
make
|
||||||
|
|
||||||
# Make the freshly build openwsman libraries available to build the gem's
|
# Make the freshly build openwsman libraries available to build the gem's
|
||||||
# binary extension.
|
# binary extension.
|
||||||
@ -336,6 +335,9 @@ rm -f /var/log/wsmand.log
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 22 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.6.2-4
|
||||||
|
- Remove SSL_LIB acquired by readlink from CFLAGS
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-3
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user