[PATCH] Security hardening compiler and linker flags