mirror of
https://abf.rosa.ru/djam/openssl1.1.git
synced 2025-02-23 16:12:52 +00:00
Fix building on rosa2016.1
This commit is contained in:
parent
9da614efa7
commit
1b9f823aae
2 changed files with 17 additions and 0 deletions
|
@ -1,2 +1,4 @@
|
||||||
# HTML docs must not be compressed to be usable
|
# HTML docs must not be compressed to be usable
|
||||||
addFilter("W: manpage-not-compressed.*.html")
|
addFilter("W: manpage-not-compressed.*.html")
|
||||||
|
# for rpm5 platforms
|
||||||
|
addFilter("E: description-line-too-long")
|
||||||
|
|
|
@ -39,8 +39,12 @@ BuildRequires: perl(File::Basename)
|
||||||
BuildRequires: perl(FindBin)
|
BuildRequires: perl(FindBin)
|
||||||
BuildRequires: perl(Test::Harness)
|
BuildRequires: perl(Test::Harness)
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
|
%if %{mdvver} <= 201610
|
||||||
|
BuildRequires: perl
|
||||||
|
%else
|
||||||
BuildRequires: /usr/bin/pod2html
|
BuildRequires: /usr/bin/pod2html
|
||||||
BuildRequires: /usr/bin/pod2man
|
BuildRequires: /usr/bin/pod2man
|
||||||
|
%endif
|
||||||
Requires: %{engines_name} = %{EVRD}
|
Requires: %{engines_name} = %{EVRD}
|
||||||
Requires: perl-base
|
Requires: perl-base
|
||||||
Requires: rootcerts
|
Requires: rootcerts
|
||||||
|
@ -113,7 +117,18 @@ and protocols, including DES, RC4, RSA and SSL.
|
||||||
cp %{SOURCE4} openssl-thread-test.c
|
cp %{SOURCE4} openssl-thread-test.c
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
# In rosa2016.1: /usr/bin/ld: crypto/bio/bio_cb.o: relocation R_X86_64_PC32 against undefined symbol
|
||||||
|
# `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
|
||||||
|
%if %{mdvver} <= 201610
|
||||||
|
%setup_compile_flags
|
||||||
|
# (From openssl rosa2016.1)
|
||||||
|
# Add -Wa,--noexecstack here so that libcrypto's assembler modules will be
|
||||||
|
# marked as not requiring an executable stack.
|
||||||
|
export CFLAGS="$CFLAGS -Wa,--noexecstack"
|
||||||
|
%else
|
||||||
%serverbuild
|
%serverbuild
|
||||||
|
%endif
|
||||||
|
|
||||||
# Figure out which flags we want to use.
|
# Figure out which flags we want to use.
|
||||||
# default
|
# default
|
||||||
|
|
Loading…
Add table
Reference in a new issue