[hackers] [sbase] add -D_DEFAULT_SOURCE to placate gcc || Evan Gates

From: <git_AT_suckless.org>
Date: Fri, 14 Nov 2014 11:37:57 +0100

commit 0810c611549427b67d3baa05b0503a3bbd231242
Author: Evan Gates <evan.gates_AT_gmail.com>
Date: Thu Nov 13 13:42:09 2014 -0800

    add -D_DEFAULT_SOURCE to placate gcc

diff --git a/config.mk b/config.mk
index 2967eed..c605648 100644
--- a/config.mk
+++ b/config.mk
_AT_@ -8,7 +8,7 @@ MANPREFIX = $(PREFIX)/share/man
 #CC = gcc
 #CC = musl-gcc
 LD = $(CC)
-CPPFLAGS = -D_BSD_SOURCE -D_GNU_SOURCE
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE
 CFLAGS = -g -std=c99 -Wall -pedantic $(CPPFLAGS)
 LDFLAGS = -g
 
Received on Fri Nov 14 2014 - 11:37:57 CET

This archive was generated by hypermail 2.3.0 : Fri Nov 14 2014 - 11:48:11 CET