SHA256
1
0
forked from pool/antlr

Accepting request 720437 from home:marxin:static

Use FAT LTO objects in order to provide proper static library.

OBS-URL: https://build.opensuse.org/request/show/720437
OBS-URL: https://build.opensuse.org/package/show/Java:packages/antlr?expand=0&rev=68
This commit is contained in:
Tomáš Chvátal 2019-08-02 07:33:04 +00:00 committed by Git OBS Bridge
parent 93cee481dc
commit 8c16b5c518
3 changed files with 7 additions and 0 deletions

View File

@ -38,6 +38,7 @@ This antlr package is used for bootstrapping purposes only.
find | grep "\(ShowString.java$\|StreamConverter.java$\)" && exit 42 || :
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
#>>> some useful functions ... used throughout bootstrap packages
# variables:
TARGET_DIR=`pwd`

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 2 06:53:31 UTC 2019 - Martin Liška <mliska@suse.cz>
- Use FAT LTO objects in order to provide proper static library.
-------------------------------------------------------------------
Wed Jul 31 08:51:20 UTC 2019 - Martin Liška <mliska@suse.cz>

View File

@ -123,6 +123,7 @@ find | grep "\(ShowString.java$\|StreamConverter.java$\)" && exit 42 || :
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
ant \
-Dj2se.apidoc=%{_javadocdir}/java \
-Dant.build.javac.source=8 -Dant.build.javac.target=8 \