Displaying 2 results from an estimated 2 matches for "enable_stack_smash_protect".
2016 Jan 23
1
microbench (benchmark_residual) requires -lrt for clock_gettime()
...enchmark_residual linkage fails with
undefines references to clock_gettime(). Adding -lrt fixes that.
The following is a small patch for it.
Regards.
--
O.S.
diff --git a/configure.ac b/configure.ac
index 993ac33..392485e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -437,6 +437,11 @@ if test x$enable_stack_smash_protection = "xyes" ; then
XIPH_GXX_STACK_PROTECTOR
fi
+if test "x$sys_linux" = xtrue ; then
+ LIB_CLOCK_GETTIME=-lrt
+ fi
+AC_SUBST(LIB_CLOCK_GETTIME)
+
AC_CONFIG_FILES([ \
Makefile \
src/Makefile \
diff --git a/microbench/Makefile.am b/mic...
2013 Nov 20
4
[PATCH 1/2] Revert "configure.ac : If gcc is version 4.2, use -fgnu89-inline."
...fi
-
- if test "x$GCC_MAJOR_VERSION$GCC_MINOR_VERSION" = "x42" ; then
- XIPH_ADD_CFLAGS([-fgnu89-inline])
- fi
+ fi
if test "x$asm_optimisation" = "xyes" ; then
XIPH_ADD_CFLAGS([-msse2])
- fi
-
fi
+fi
+
XIPH_ADD_CFLAGS([-Wextra])
if test x$enable_stack_smash_protection = "xyes" ; then
--
1.8.3.4 (Apple Git-47)