projects
/
sent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5534df4
)
make: fix warnings because of BSD_SOURCE
author
Jonas Jelten
<jj@sft.mx>
Mon, 19 Jan 2015 03:28:11 +0000
(
04:28
+0100)
committer
Jonas Jelten
<jj@sft.mx>
Mon, 19 Jan 2015 03:28:11 +0000
(
04:28
+0100)
config.mk
patch
|
blob
|
history
diff --git
a/config.mk
b/config.mk
index e5521ba9dc3fe935f63f86750f6aee425a3a272c..60b75ef14b57d32c0635596509e9bc511b528916 100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-15,7
+15,7
@@
INCS = -I. -I/usr/include -I${X11INC}
LIBS = -L/usr/lib -lc -lm -L${X11LIB} -lX11 -lpng
# flags
-CPPFLAGS = -DVERSION=\"${VERSION}\" -D_
BSD_SOURCE -D_
XOPEN_SOURCE=600
+CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600
CFLAGS += -g -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS}
LDFLAGS += -g ${LIBS}
#CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}