aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias-Christian Ott <ott@enolink.de>2008-06-10 18:00:15 +0200
committerMatthias-Christian Ott <ott@enolink.de>2008-06-10 18:00:15 +0200
commitf513f1d9daf29922660c5b0262cb18200b3636a2 (patch)
treeadc95e21d60cd660a9dc4020566dc50160570c77
parent3e8930a7a6f8cd9c6cadeb3c89a743beb698d1f8 (diff)
downloadst-f513f1d9daf29922660c5b0262cb18200b3636a2.tar.gz
st-f513f1d9daf29922660c5b0262cb18200b3636a2.tar.bz2
assume glibc by default
-rw-r--r--config.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 224bbbf..eca6028 100644
--- 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}