1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Description: Fix ftbfs with GCC-10
Use -fcommon with CFLAGS
Author: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Bug-Debian: https://bugs.debian.org/957996
Forwarded: no
---
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ CC= gcc -O -std=c99 -pedantic -D_XOPEN_S
#CFLAGS= -g -O -m64 -DNOERRNO -DNON_UNIX_STDIO -DAUTO -DCVODE_YES -DHAVEDLL DMYSTR1=$(MAJORVER) -DMYSTR2=$(MINORVER) -I/usr/include/X11
# to create univeral mac app, lipo -create -output xppmac xppx86 xpparm
# -target x86_64-apple-macos10.12 for I86
-CFLAGS= -g -pedantic -O2 -DNOERRNO -DNON_UNIX_STDIO -DAUTO -DCVODE_YES -DHAVEDLL -DMYSTR1=$(MAJORVER) -DMYSTR2=$(MINORVER) -I/opt/X11/include
+CFLAGS= -g -pedantic -fcommon -O2 -DNOERRNO -DNON_UNIX_STDIO -DAUTO -DCVODE_YES -DHAVEDLL -DMYSTR1=$(MAJORVER) -DMYSTR2=$(MINORVER) -I/opt/X11/include
#LDFLAGS= -m64 -L/usr/lib -L/usr/lib64
#LDFLAGS= -m32 -L/usr/X11R6/lib
# -target x86_64-apple-macos10.12 for i86
|