Fix FTBFS for GNU/kFreeBSD and possibly GNU/Hurd (Thanks Cyril)

This commit is contained in:
Michael Stapelberg 2009-08-24 12:17:14 +02:00
parent 55b1bf4582
commit 90a94af296
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ ifeq ($(UNAME),FreeBSD)
LDFLAGS += -liconv
endif
ifeq ($(UNAME),Linux)
ifneq (,$(filter Linux GNU GNU/%, $(UNAME)))
CFLAGS += -D_GNU_SOURCE
endif