projects
/
st.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f28725
)
assume glibc by default
author
Matthias-Christian Ott
<ott@enolink.de>
Tue, 10 Jun 2008 16:00:15 +0000
(18:00 +0200)
committer
Matthias-Christian Ott
<ott@enolink.de>
Tue, 10 Jun 2008 16:00:15 +0000
(18:00 +0200)
config.mk
patch
|
blob
|
history
diff --git
a/config.mk
b/config.mk
index
224bbbf
..
eca6028
100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-14,8
+14,11
@@
X11LIB = /usr/X11R6/lib
INCS = -I. -I/usr/include -I${X11INC}
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
+# glibc
+CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
+
# flags
-CPPFLAGS = -DVERSION=\"${VERSION}\"
+
#
CPPFLAGS = -DVERSION=\"${VERSION}\"
CFLAGS = -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}
#CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} ${CPPFLAGS}