projects
/
suckless
/
dmenu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb96af2
)
follow-up fix: add -D_GNU_SOURCE for strcasestr for some systems
author
Hiltjo Posthuma
<hiltjo@codemadness.org>
Mon, 7 Feb 2022 09:36:13 +0000
(10:36 +0100)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Mon, 7 Feb 2022 09:36:13 +0000
(10:36 +0100)
config.mk
patch
|
blob
|
history
diff --git
a/config.mk
b/config.mk
index 05d5a3e801e838c6a8a5e02834d63dd880bd66da..bea4e4bdeaac2f1f945a76dcb2b947f89f3c9ee2 100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-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)