From: Federico Ceratto Date: Sun, 31 Jan 2021 21:51:33 +0000 (+0000) Subject: Enable hardening flags, fix build X-Git-Tag: archive/raspbian/0.11.0-1.1+rpi1~1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f6f7bc616b46be3debfb31f1a7b94e4c0e5e0fae;p=goxel.git Enable hardening flags, fix build Gbp-Pq: Name 0003-harden-and-fix-build --- diff --git a/SConstruct b/SConstruct index 288e5fe..2ee992c 100644 --- a/SConstruct +++ b/SConstruct @@ -130,3 +130,5 @@ env.Append( ) env.Program(target='goxel', source=sources) +env.Append(CFLAGS='-Wformat-security -Werror=format-security -fPIE') +env.Append(CFLAGS='-Wno-error=format-overflow=')