Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index cd5cc899..dbc4ed1c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -853,6 +853,10 @@ AS_IF([test "$enable_stack_protector" = "yes"],
])
])
+AS_IF([test x$ac_cv_c_compiler_gnu = xyes],
+ [AX_ADD_FORTIFY_SOURCE]
+)
+
CFLAGS="$CFLAGS -W"
warn_CFLAGS="-Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes"