pinosaur
/
dwm.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ed9c48
)
Shut up glibc about _BSD_SOURCE being deprecated
author
Quentin Rameau
<quinq@fifth.space>
Sat, 19 Dec 2015 19:04:19 +0000
(20:04 +0100)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Sat, 19 Dec 2015 19:20:26 +0000
(20:20 +0100)
config.mk
patch
|
blob
|
history
diff --git
a/config.mk
b/config.mk
index
4eefb71
..
80dc936
100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-25,7
+25,7
@@
INCS = -I${X11INC} -I${FREETYPEINC}
LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
# flags
-CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+CPPFLAGS = -D_
DEFAULT_SOURCE -D_
BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}