sbase

suckless unix tools
git clone git://git.suckless.org/sbase
Log | Files | Refs | README | LICENSE

commit 0810c611549427b67d3baa05b0503a3bbd231242
parent ee55fbe9e94fda93a49779558627600900b32b6f
Author: Evan Gates <evan.gates@gmail.com>
Date:   Thu, 13 Nov 2014 13:42:09 -0800

add -D_DEFAULT_SOURCE to placate gcc

Diffstat:
Mconfig.mk | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.mk b/config.mk @@ -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