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
commit591d147af7d59f31a68513f613124d49f25f9859 (patch)
tree386af53d0c8ca8a4957b418861374956c65e005c /config.mk
parent1132d9e2d65f469dedd9c5b6f356495c7a87b743 (diff)
downloadst-591d147af7d59f31a68513f613124d49f25f9859.tar.gz
st-591d147af7d59f31a68513f613124d49f25f9859.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