tShut up glibc about _BSD_SOURCE being deprecated - dwm - [fork] customized bui… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 4ec3a673ff81275a9157d6801ea4a2b17031e5ba | |
parent 5ed9c481968a45f5032f1011d92ab8d5237aeba1 | |
Author: Quentin Rameau <[email protected]> | |
Date: Sat, 19 Dec 2015 20:04:19 +0100 | |
Shut up glibc about _BSD_SOURCE being deprecated | |
Diffstat: | |
M config.mk | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/config.mk b/config.mk | |
t@@ -25,7 +25,7 @@ INCS = -I${X11INC} -I${FREETYPEINC} | |
LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} | |
# flags | |
-CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERA… | |
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${V… | |
#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} | |
CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} $… | |
LDFLAGS = -s ${LIBS} |