GCC 10 changes the default from -fcommon to -fno-common, so we need to

set it explicitly now. Closes github bug #17.
pull/20/head
John Tsiombikas 2020-02-01 01:19:14 +02:00
rodzic 8acf883d97
commit 081182f167
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -7,7 +7,8 @@ ctl = spnavd_ctl
CC = gcc
INSTALL = install
CFLAGS = -pedantic -Wall $(dbg) $(opt) -fno-strict-aliasing -I$(srcdir)/src -I/usr/local/include $(add_cflags)
CFLAGS = -pedantic -Wall $(dbg) $(opt) -fno-strict-aliasing -fcommon \
-I$(srcdir)/src -I/usr/local/include $(add_cflags)
LDFLAGS = -L/usr/local/lib $(xlib) $(add_ldflags)
$(bin): $(obj)