summaryrefslogtreecommitdiffstats
path: root/src/local.mk
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-02 19:07:21 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-02 19:13:40 (EDT)
commit20330477b1030c7af1f4f806b7bcbefa97f4b634 (patch)
treebcee414f04fb9f57ad53b825df7810b94dcfed41 /src/local.mk
parent516df4f6b417633e590c3ef6aaf2b08ab4121cac (diff)
downloadmarquee-20330477b1030c7af1f4f806b7bcbefa97f4b634.zip
marquee-20330477b1030c7af1f4f806b7bcbefa97f4b634.tar.gz
marquee-20330477b1030c7af1f4f806b7bcbefa97f4b634.tar.bz2
src/gpl-3-0.[ch]: New files
mq_gpl_3_0_html() builds a long string from an array of shorter strings. This works around possibly limited literal string lengths of compilers, as described by this warning from GCC: $ make [...] CC src/about/marquee-version.o src/about/version.c:726:2: warning: string length ‘36973’ is greater than the length ‘4095’ ISO C99 compilers are required to support [-Woverlength-strings] ; ^ [...]
Diffstat (limited to 'src/local.mk')
-rw-r--r--src/local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/local.mk b/src/local.mk
index 4930998..0ffd545 100644
--- a/src/local.mk
+++ b/src/local.mk
@@ -6,6 +6,7 @@ marquee_SOURCES += \
%reldir%/tab-chrome.c \
%reldir%/tab-body.c \
%reldir%/html.c \
+ %reldir%/gpl-3-0.c \
%reldir%/about.c
include %reldir%/about/local.mk