Import strcasestr() from musl and remove -D_GNU_SOURCE

This commit is contained in:
sin
2014-11-20 23:43:08 +00:00
parent ea4f58ff02
commit ce86a05f36
5 changed files with 38 additions and 2 deletions

View File

@@ -10,6 +10,6 @@ LD = $(CC)
AR = ar
RANLIB = ranlib
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
CFLAGS = -std=c99 -Wall -pedantic
LDFLAGS = -s