From 8c16b5c518c98500ef06b47e41fb0ca88800709e1c12d7444368980cf8a38daf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 2 Aug 2019 07:33:04 +0000 Subject: [PATCH] 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 --- antlr-bootstrap.spec | 1 + antlr.changes | 5 +++++ antlr.spec | 1 + 3 files changed, 7 insertions(+) diff --git a/antlr-bootstrap.spec b/antlr-bootstrap.spec index 964f539..041b880 100644 --- a/antlr-bootstrap.spec +++ b/antlr-bootstrap.spec @@ -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` diff --git a/antlr.changes b/antlr.changes index 14d1968..074dc16 100644 --- a/antlr.changes +++ b/antlr.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 2 06:53:31 UTC 2019 - Martin Liška + +- Use FAT LTO objects in order to provide proper static library. + ------------------------------------------------------------------- Wed Jul 31 08:51:20 UTC 2019 - Martin Liška diff --git a/antlr.spec b/antlr.spec index c13afdb..f7a1d5d 100644 --- a/antlr.spec +++ b/antlr.spec @@ -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 \