projects
/
goxel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d27ee6
)
Enable hardening flags, fix build
author
Federico Ceratto
<federico@debian.org>
Sat, 8 May 2021 11:42:41 +0000
(12:42 +0100)
committer
Peter Michael Green
<plugwash@raspbian.org>
Sat, 8 May 2021 11:42:41 +0000
(12:42 +0100)
Gbp-Pq: Name 0003-harden-and-fix-build
SConstruct
patch
|
blob
|
history
diff --git
a/SConstruct
b/SConstruct
index 288e5fe1dc82771dff4ffaf1315a66453f080416..2ee992c21b0d760a89e522cca98b173ed44301bd 100644
(file)
--- 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=')