Avoid undefined symbols from new linker flags
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
8adbb7a402
commit
21316e7a45
@ -6,6 +6,11 @@
|
|||||||
%define min_rhel 6
|
%define min_rhel 6
|
||||||
%define min_fedora 26
|
%define min_fedora 26
|
||||||
|
|
||||||
|
# Fedora >= 28 default RPM linker flags set "-z defs" to refuse
|
||||||
|
# to link when there are undefined symbols. This breaks all of our
|
||||||
|
# dlopen()able plugins, so we must turn it off.
|
||||||
|
%undefine _strict_symbol_defs_build
|
||||||
|
|
||||||
%if (0%{?fedora} && 0%{?fedora} >= %{min_fedora}) || (0%{?rhel} && 0%{?rhel} >= %{min_rhel})
|
%if (0%{?fedora} && 0%{?fedora} >= %{min_fedora}) || (0%{?rhel} && 0%{?rhel} >= %{min_rhel})
|
||||||
%define supported_platform 1
|
%define supported_platform 1
|
||||||
%else
|
%else
|
||||||
|
Loading…
Reference in New Issue
Block a user