]> git.sur5r.net Git - i3/i3/commitdiff
Fix FTBFS for GNU/kFreeBSD and possibly GNU/Hurd (Thanks Cyril)
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 24 Aug 2009 10:17:14 +0000 (12:17 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 24 Aug 2009 10:17:14 +0000 (12:17 +0200)
common.mk

index 7944196c3e5c474e2c384cefa33090213e024705..485038b4de1cfb2c42b660e8bea87082eb8b9636 100644 (file)
--- 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