aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorpancake@nopcode.org <unknown>2010-08-31 17:36:55 +0200
committerpancake@nopcode.org <unknown>2010-08-31 17:36:55 +0200
commit87d1f986378186aa433ae09e1581dca3911991ae (patch)
tree386af53d0c8ca8a4957b418861374956c65e005c /config.mk
parent4449abbddba9cdb55eb144f55f9a5860e4e8cb1e (diff)
downloadst-87d1f986378186aa433ae09e1581dca3911991ae.tar.gz
st-87d1f986378186aa433ae09e1581dca3911991ae.tar.bz2
fix segfault when selecting big buffers
shift+insert paste clipboard honor CFLAGS and LDFLAGS in config.mk
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.mk b/config.mk
index 46efc0c..01a3779 100644
--- a/config.mk
+++ b/config.mk
@@ -16,8 +16,8 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lutil
# flags
CPPFLAGS = -DVERSION=\"${VERSION}\"
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
-LDFLAGS = -s ${LIBS}
+CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+LDFLAGS += -s ${LIBS}
# compiler and linker
-CC = cc
+CC ?= cc