Xinqi Bao's Git
projects
/
st.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
2fcfea1
)
Glibc wants me to use _DEFAULT_SOURCe. I do obey.
author
Christoph Lohmann <
[email protected]
>
Sat, 14 Mar 2015 07:43:57 +0000
(08:43 +0100)
committer
Christoph Lohmann <
[email protected]
>
Sat, 14 Mar 2015 07:43:57 +0000
(08:43 +0100)
config.mk
diff
|
blob
|
history
diff --git
a/config.mk
b/config.mk
index
46457f7
..
7ae510e
100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-19,7
+19,7
@@
LIBS = -L/usr/lib -lc -L${X11LIB} -lm -lrt -lX11 -lutil -lXext -lXft \
`pkg-config --libs freetype2`
# flags
`pkg-config --libs freetype2`
# flags
-CPPFLAGS = -DVERSION=\"${VERSION}\" -D_
BSD
_SOURCE -D_XOPEN_SOURCE=600
+CPPFLAGS = -DVERSION=\"${VERSION}\" -D_
DEFAULT
_SOURCE -D_XOPEN_SOURCE=600
CFLAGS += -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os ${INCS} ${CPPFLAGS}
LDFLAGS += -g ${LIBS}
CFLAGS += -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os ${INCS} ${CPPFLAGS}
LDFLAGS += -g ${LIBS}