diff options
author | Reuben Thomas <rrt@sc3d.org> | 2020-09-05 12:33:27 +0100 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2020-09-05 12:33:27 +0100 |
commit | 0aa7d1c4cf1586ce4001818cfb741a8908c33d7c (patch) | |
tree | 6646055e91249af783d8069a7b34b0ba62b90902 | |
parent | 9a0f365c235e109384ef6c231cd664a02fb27054 (diff) | |
download | enchant-0aa7d1c4cf1586ce4001818cfb741a8908c33d7c.tar.gz |
configure.ac: remove -D_FORTIFY_SOURCE
This no longer works on mingw (without explicit linking with libssp) and
well-configured compilers have stack smashing protection turned on by
default (e.g. gcc on Ubuntu).
-rw-r--r-- | configure.ac | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 18d988a..c947d80 100644 --- a/configure.ac +++ b/configure.ac @@ -99,8 +99,6 @@ if test "$gl_gcc_warnings" = yes; then dnl Add an extra warning gl_WARN_ADD([-Wstrict-overflow=1]) - dnl Add some more safety measures - gl_WARN_ADD([-D_FORTIFY_SOURCE=2]) dnl Remove a warning being promoted to error: we trigger this and can't turn it off with pragmas. gl_WARN_ADD([-Wno-error=format-security]) |