public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/antlr3] epel10: fix build on other arches
@ 2026-07-22 19:37 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-07-22 19:37 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/antlr3
Branch : epel10
Commit : ee88cf13670b752fc9fa94f39b1b2e2fe97849c3
Author : Dan Horák <dan@danny.cz>
Date   : 2011-09-09T19:30:19+02:00
Stats  : +9/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/antlr3/c/ee88cf13670b752fc9fa94f39b1b2e2fe97849c3?branch=epel10

Log:
fix build on other arches

---
diff --git a/antlr3.spec b/antlr3.spec
index 48daab3..9e86cca 100644
--- a/antlr3.spec
+++ b/antlr3.spec
@@ -9,7 +9,7 @@
 Summary:			ANother Tool for Language Recognition
 Name:				antlr3
 Version:			%{antlr_version}
-Release:			14%{?dist}
+Release:			15%{?dist}
 URL:				http://www.antlr.org/
 Source0:			http://www.antlr.org/download/antlr-%{antlr_version}.tar.gz
 Source1:			http://www.antlr.org/download/C/libantlr3c-%{antlr_version}.tar.gz
@@ -203,11 +203,11 @@ popd
 # Build the C runtime
 pushd libantlr3c-%{antlr_version}
 
-%ifarch x86_64 ppc64
-%configure --disable-abiflags --enable-debuginfo --enable-64bit
-%endif
-%ifarch %{ix86} ppc
-%configure --disable-abiflags --enable-debuginfo
+%configure --disable-abiflags --enable-debuginfo \
+%ifarch x86_64 ppc64 s390x sparc64
+    --enable-64bit
+%else
+    %{nil}
 %endif
 
 sed -i "s/CFLAGS = .*/CFLAGS = $RPM_OPT_FLAGS/" Makefile
@@ -324,6 +324,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_javadir}/*gunit*.jar
 
 %changelog
+* Fri Sep 09 2011 Dan Horák <dan[at]danny.cz> - 3.2-15
+- fix build on other arches
+
 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-22 19:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-22 19:37 [rpms/antlr3] epel10: fix build on other arches 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox