mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
DWZ problem with multiple golang binary caused OL7 RPM build to fail
Refering to this: https://fedoraproject.org/wiki/PackagingDrafts/Go this could be due to the following bug: https://bugzilla.redhat.com/show_bug.cgi?id=995136#c12 This fixes #22051 Signed-off-by: Thomas Tanaka <thomas.tanaka@oracle.com>
This commit is contained in:
parent
a196861517
commit
c892a8d620
1 changed files with 6 additions and 0 deletions
|
@ -60,6 +60,12 @@ Requires: device-mapper >= 1.02.90-2
|
|||
%global with_selinux 1
|
||||
%endif
|
||||
|
||||
# DWZ problem with multiple golang binary, see bug
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=995136#c12
|
||||
%if 0%{?fedora} >= 20 || 0%{?rhel} >= 7 || 0%{?oraclelinux} >= 7
|
||||
%global _dwz_low_mem_die_limit 0
|
||||
%endif
|
||||
|
||||
# start if with_selinux
|
||||
%if 0%{?with_selinux}
|
||||
# Version of SELinux we were using
|
||||
|
|
Loading…
Add table
Reference in a new issue