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:
commit
ed20d789d5
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
%build
|
||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||
# we need build only 1.6 target for java
|
||||
# for SLE only
|
||||
%if 0%{?sles_version} >= 10 || 0%{?suse_version} >= 1110
|
||||
@ -340,11 +341,10 @@ export CXXFLAGS=$CFLAGS
|
||||
%endif
|
||||
--enable-shared-zlib
|
||||
# clean stalled files before rebuild them
|
||||
make %{?_smp_mflags} clean
|
||||
# should work up to at least -j8
|
||||
make %{?_smp_mflags}
|
||||
%make_build clean
|
||||
%make_build
|
||||
# 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
|
||||
%if 0%{?sles_version} >= 10
|
||||
|
Loading…
x
Reference in New Issue
Block a user