add -D_DEFAULT_SOURCE to placate gcc
This commit is contained in:
parent
ee55fbe9e9
commit
0810c61154
|
@ -8,7 +8,7 @@ MANPREFIX = $(PREFIX)/share/man
|
||||||
#CC = gcc
|
#CC = gcc
|
||||||
#CC = musl-gcc
|
#CC = musl-gcc
|
||||||
LD = $(CC)
|
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)
|
CFLAGS = -g -std=c99 -Wall -pedantic $(CPPFLAGS)
|
||||||
LDFLAGS = -g
|
LDFLAGS = -g
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user