diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-02-07 10:36:13 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-02-07 10:36:13 +0100 |
commit | a9a3836861bd23387b5a51d6f6ac23377e98e26f (patch) | |
tree | 59a5e2562cf9ca7ea726fae75b9abb4e50054074 | |
parent | eb96af27f4059c93d7e000e910b71d74829a239b (diff) |
follow-up fix: add -D_GNU_SOURCE for strcasestr for some systems
-rw-r--r-- | config.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ INCS = -I$(X11INC) -I$(FREETYPEINC) | |||
23 | LIBS = -L$(X11LIB) -lX11 $(XINERAMALIBS) $(FREETYPELIBS) | 23 | LIBS = -L$(X11LIB) -lX11 $(XINERAMALIBS) $(FREETYPELIBS) |
24 | 24 | ||
25 | # flags | 25 | # flags |
26 | CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMAFLAGS) | 26 | CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMAFLAGS) |
27 | CFLAGS = -std=c99 -pedantic -Wall -Os $(INCS) $(CPPFLAGS) | 27 | CFLAGS = -std=c99 -pedantic -Wall -Os $(INCS) $(CPPFLAGS) |
28 | LDFLAGS = $(LIBS) | 28 | LDFLAGS = $(LIBS) |
29 | 29 | ||