From: Federico Ceratto Date: Sat, 8 May 2021 11:42:41 +0000 (+0100) Subject: Enable hardening flags, fix build X-Git-Tag: archive/raspbian/0.11.0-1.1+rpi1~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=73eeca6c825b178ae77679a1d44ca5323eb2b269;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=')