pinosaur
/
dmenu.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
120e840
)
Shut up glibc about _BSD_SOURCE being deprecated
author
Quentin Rameau
<quinq@fifth.space>
Sat, 19 Dec 2015 18:58:03 +0000
(19:58 +0100)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Sat, 19 Dec 2015 19:32:17 +0000
(20:32 +0100)
config.mk
patch
|
blob
|
history
diff --git
a/config.mk
b/config.mk
index
faea37f
..
4d908a5
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_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+CPPFLAGS = -D_
DEFAULT_SOURCE -D_
BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}