SHA256
1
0
forked from pool/stunnel

Accepting request 1082945 from home:asvetter:branches:security:Stunnel

- Fix build on SLE12:
  - add macro make_build

OBS-URL: https://build.opensuse.org/request/show/1082945
OBS-URL: https://build.opensuse.org/package/show/security:Stunnel/stunnel?expand=0&rev=162
This commit is contained in:
Pedro Monreal Gonzalez 2023-05-02 06:11:04 +00:00 committed by Git OBS Bridge
parent ebd9d0dd8a
commit 789892340c
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 26 09:43:10 UTC 2023 - Andreas Vetter <vetter@physik.uni-wuerzburg.de>
- Fix build on SLE12:
- add macro make_build
-------------------------------------------------------------------
Mon Apr 3 20:05:38 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -83,6 +83,9 @@ sed -i 's/-m 1770//g' tools/Makefile.in
%configure \
--disable-static \
--bindir=%{_sbindir}
%if 0%{?sle_version} < 150000
%define make_build %{__make} -O %{?_smp_mflags}
%endif
%make_build LDADD="-pie -Wl,-z,defs,-z,relro,-z,now"
%install