public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/afpfs-ng] epel10: fix FTBFS for legacy code use -fcommon
@ 2026-11-06 15:37 rpmbuild
  0 siblings, 0 replies; only message in thread
From: rpmbuild @ 2026-11-06 15:37 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/afpfs-ng
Branch : epel10
Commit : 28458b0c66cd08567839cc2d1c983798871b91e1
Author : rpmbuild <rpmbuild>
Date   : 2020-04-22T21:27:20+00:00
Stats  : +5/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/afpfs-ng/c/28458b0c66cd08567839cc2d1c983798871b91e1?branch=epel10

Log:
fix FTBFS for legacy code use -fcommon

---
diff --git a/afpfs-ng.spec b/afpfs-ng.spec
index 517b27c..fff2582 100644
--- a/afpfs-ng.spec
+++ b/afpfs-ng.spec
@@ -5,7 +5,7 @@
 
 Name:           afpfs-ng
 Version:        0.8.1
-Release:        29%{?dist}
+Release:        30%{?dist}
 Summary:        Apple Filing Protocol client
 
 License:        GPL+
@@ -59,6 +59,7 @@ Library for dynamic linking and header files of afpfs-ng.
 # Prerequisite `configure.ac' is newer than target `aclocal.m4'.
 touch --reference aclocal.m4 configure.ac Makefile.in
 
+export CFLAGS="${RPM_OPT_FLAGS} -fcommon" 
 %configure %{?_without_fuse:--disable-fuse} --disable-static
 make %{?_smp_mflags}
 
@@ -101,6 +102,9 @@ cp -p include/* %{buildroot}%{_includedir}/afpfs-ng
 
 
 %changelog
+* Wed Apr 22 2020 Michal Ambroz <rebus _AT seznam.cz> - 0.8.1-30
+- fix FTBFS - multiple definition of - build legacy code with -fcommon
+
 * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-29
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
 

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

only message in thread, other threads:[~2026-11-06 15:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06 15:37 [rpms/afpfs-ng] epel10: fix FTBFS for legacy code use -fcommon rpmbuild

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