Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
aboutsummaryrefsloggraphtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 74429ae..7399670 100644
--- a/config.mk
+++ b/config.mk
@@ -16,8 +16,10 @@ LIBS = -L/usr/lib -lc -lcrypt -L${X11LIB} -lX11 -lXext -lXrandr
# flags
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE -DHAVE_SHADOW_H
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
-LDFLAGS = -s ${LIBS}
+CFLAGS ?= -pedantic -Wall -Os
+CFLAGS += -std=c99 ${INCS} ${CPPFLAGS}
+LDFLAGS ?= -s
+LDFLAGS += ${LIBS}
COMPATSRC = explicit_bzero.c
# On OpenBSD and Darwin remove -lcrypt from LIBS