From: Michael Stapelberg Date: Mon, 24 Aug 2009 10:17:14 +0000 (+0200) Subject: Fix FTBFS for GNU/kFreeBSD and possibly GNU/Hurd (Thanks Cyril) X-Git-Tag: 3.d~120 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=90a94af2965fb99f2bc1f196a5ed420b4344477a;p=i3%2Fi3 Fix FTBFS for GNU/kFreeBSD and possibly GNU/Hurd (Thanks Cyril) --- 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