From 90a94af2965fb99f2bc1f196a5ed420b4344477a Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 24 Aug 2009 12:17:14 +0200 Subject: [PATCH] Fix FTBFS for GNU/kFreeBSD and possibly GNU/Hurd (Thanks Cyril) --- common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.mk b/common.mk index 7944196c..485038b4 100644 --- a/common.mk +++ b/common.mk @@ -50,7 +50,7 @@ ifeq ($(UNAME),FreeBSD) LDFLAGS += -liconv endif -ifeq ($(UNAME),Linux) +ifneq (,$(filter Linux GNU GNU/%, $(UNAME))) CFLAGS += -D_GNU_SOURCE endif -- 2.39.5