Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b29acc1
)
s/_BSD_SOURCE/_DEFAULT_SOURCE/ to make compiler happy
author
Jason Woofenden
<jason@jasonwoof.com>
Mon, 3 Apr 2017 06:40:33 +0000
(
02:40
-0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Mon, 3 Apr 2017 06:40:33 +0000
(
02:40
-0400)
config.mk
patch
|
blob
|
history
diff --git
a/config.mk
b/config.mk
index
1b96b93
..
3b5b42e
100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-19,7
+19,7
@@
INCS = -I${X11INC}
LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS}
# flags
LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS}
# flags
-CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+CPPFLAGS = -D_DEFAULT_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 -Wno-unused-function -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}
#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Wno-unused-function -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}