diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-02-07 10:36:13 +0100 |
---|---|---|
committer | rafa_99 <raroma09@gmail.com> | 2022-02-17 19:02:24 +0000 |
commit | dee663045a9e21174da861ae91487f750149c43c (patch) | |
tree | f96d6ca15525885fd8cf9c261b67529cddbc2db5 /config.mk | |
parent | 4534fc0688e02cec8b33240a97c8aee64e1e0e2d (diff) |
follow-up fix: add -D_GNU_SOURCE for strcasestr for some systems
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ INCS = -I$(X11INC) -I$(FREETYPEINC) LIBS = -L$(X11LIB) -lX11 $(XINERAMALIBS) $(FREETYPELIBS) # flags -CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMAFLAGS) +CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMAFLAGS) CFLAGS = -std=c99 -pedantic -Wall -Os $(INCS) $(CPPFLAGS) LDFLAGS = $(LIBS) |