Skip to content

Commit

Permalink
add -fcommon to CFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schwarz committed Jul 24, 2020
1 parent d5ad86e commit 28a5b93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

CC = /usr/bin/gcc
PKG_CONFIG ?= pkg-config
CFLAGS += -std=gnu99 -lconfig -D_GNU_SOURCE
CFLAGS += -std=gnu99 -lconfig -D_GNU_SOURCE -fcommon
CFLAGS += `$(PKG_CONFIG) --cflags libconfig`
LDLIBS += `$(PKG_CONFIG) --libs libconfig`
LDFLAGS = -ltermcap -z now
Expand Down

0 comments on commit 28a5b93

Please sign in to comment.