commit: 195d6e586d1a49caf0b9b8e42c3f378c3095ffd4
parent 7f8f57fc6562ce96c27d0c9d03847535e4915cd1
Author: Michael Forney <mforney@mforney.org>
Date: Mon, 21 Sep 2020 01:15:56 -0700
openssh: Enable warnings
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/pkg/openssh/gen.lua b/pkg/openssh/gen.lua
@@ -4,6 +4,7 @@ local archflags = {
aarch64='-D SANDBOX_SECCOMP_FILTER=1 -D SECCOMP_AUDIT_ARCH=AUDIT_ARCH_AARCH64',
}
cflags{
+ '-Wall', '-Wno-pointer-sign', '-Wno-format-truncation', '-Wno-stringop-truncation',
'-D _XOPEN_SOURCE=600',
'-D _DEFAULT_SOURCE',
archflags[arch] or '-D SANDBOX_RLIMIT=1',