schwehr / generic-sensor-format

Sonar Generic Sensor Format (gsf) codec
Other
13 stars 8 forks source link

Allow for building with hardened #41

Open schwehr opened 9 years ago

schwehr commented 9 years ago

https://wiki.debian.org/Hardening http://security.stackexchange.com/questions/24444/what-is-the-most-hardened-set-of-options-for-gcc-compiling-c-c

CFLAGS += -Wformat -Wformat-security -Werror=format-security
CFLAGS += -D_FORTIFY_SOURCE=2
# CFLAGS += -fstack-protector-strong
CFLAGS += -fstack-protector-all