File: fix_gcc-10.patch

package info (click to toggle)
gtklp 1.3.4-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,004 kB
  • sloc: ansic: 11,652; sh: 5,788; makefile: 36; sed: 16
file content (24 lines) | stat: -rw-r--r-- 679 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Debian QA Group <packages@qa.debian.org>
Date: Sun, 23 Jan 2022 16:00:43 -0500
Subject: Fix ftbfs with GCC-10

Author: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Bug-Debian: https://bugs.debian.org/957319
Forwarded: no
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index e4894f5..403b420 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,7 +38,7 @@ AC_SUBST(LDFLAGS)
 
 # Forte Compiler ############################################################
 FORTE_LDFLAGS=""
-FORTE_CCFLAGS="-Wall"
+FORTE_CCFLAGS="-Wall -fcommon"
 if test x$enable_forte = xyes; then
 	FORTE_LDFLAGS="-lX11"
 	FORTE_CCFLAGS=""