Please include the following patches which fixes hardening - See these two lintian tags:
https://lintian.debian.org/tags/hardening-no-fortify-functions.html
https://lintian.debian.org/tags/hardening-no-bindnow.html
(The patches simply adds CPPFLAGS and LDFLAGS to the build and linker commands).
The patch files use spaces, not just for indentation in contextual text, but for some added and subtracted lines so fail to apply over the original files which use tabs. It is particularly important that makefiles use tabs instead of spaces as otherwise you may see:
Sorry about that - Try these version of the diffs instead.
Committed with [5d1347] , [6b23fe].
Related
Commit: [6b23fe]
Commit: [5d1347]
I'm pretty sure the second instance of CPPFLAGS in Scintilla's makefile is wrong. I think it should be CFLAGS. Otherwise, you can submit potentially unrecognized or incorrect C++ flags to the C compiler.
CPPFLAGS is C Pre-processor flags. For C++ flags, you use CXXFLAGS. See https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html .
Committed with [5d1347] , [6b23fe].
Related
Commit: [6b23fe]
Commit: [5d1347]