Accepting request 727982 from devel:languages:erlang:Factory

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/727982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/erlang?expand=0&rev=87
This commit is contained in:
Dominique Leuenberger 2019-09-04 07:15:48 +00:00 committed by Git OBS Bridge
commit ed20d789d5
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Aug 27 10:51:47 UTC 2019 - Martin Liška <mliska@suse.cz>
- Udate -ffat-lto-objects in order to properly build static libraries
provided by the package (boo#1142645).
- Use %make_build macro.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 29 08:15:47 UTC 2019 - opensuse-packaging@opensuse.org Mon Jul 29 08:15:47 UTC 2019 - opensuse-packaging@opensuse.org

View File

@ -315,6 +315,7 @@ sed -i 's|SSL_DYNAMIC_ONLY=no|SSL_DYNAMIC_ONLY=yes|' erts/configure
sed -i 's|WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`|WX_LIBS="`$WX_CONFIG_WITH_ARGS --libs` -lGLU"|' lib/wx/configure || return 1 sed -i 's|WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`|WX_LIBS="`$WX_CONFIG_WITH_ARGS --libs` -lGLU"|' lib/wx/configure || return 1
%build %build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
# we need build only 1.6 target for java # we need build only 1.6 target for java
# for SLE only # for SLE only
%if 0%{?sles_version} >= 10 || 0%{?suse_version} >= 1110 %if 0%{?sles_version} >= 10 || 0%{?suse_version} >= 1110
@ -340,11 +341,10 @@ export CXXFLAGS=$CFLAGS
%endif %endif
--enable-shared-zlib --enable-shared-zlib
# clean stalled files before rebuild them # clean stalled files before rebuild them
make %{?_smp_mflags} clean %make_build clean
# should work up to at least -j8 %make_build
make %{?_smp_mflags}
# to build the docs, just compiled erlang is required # to build the docs, just compiled erlang is required
PATH=$PWD/bin:$PATH make %{?_smp_mflags} docs PATH=$PWD/bin:$PATH %make_build docs
%install %install
%if 0%{?sles_version} >= 10 %if 0%{?sles_version} >= 10