Displaying 3 results from an estimated 3 matches for "sys_linux".
Did you mean:
dsyslinux
2016 Jan 23
1
microbench (benchmark_residual) requires -lrt for clock_gettime()
...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/microbench/Makefile.am
index e00097d..452e748 100644
--- a/microbench/Makefile.am
+++ b/microbench/Makef...
2017 Jan 09
1
[PATCH] configure.ac: relax linux OS detection
...insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 070ab357..235d2717 100644
--- a/configure.ac
+++ b/configure.ac
@@ -186,7 +186,7 @@ esac
AM_CONDITIONAL(OS_IS_WINDOWS, test "x$os_is_windows" = xyes)
case "$host" in
- *-pc-linux-gnu)
+ *-linux-*)
sys_linux=true
AC_DEFINE(FLAC__SYS_LINUX)
AH_TEMPLATE(FLAC__SYS_LINUX, [define if building for Linux])
--
2.11.0
2017 Jan 09
0
[PATCH] configure.ac: relax linux OS detection
...insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 070ab357..235d2717 100644
--- a/configure.ac
+++ b/configure.ac
@@ -186,7 +186,7 @@ esac
AM_CONDITIONAL(OS_IS_WINDOWS, test "x$os_is_windows" = xyes)
case "$host" in
- *-pc-linux-gnu)
+ *-linux-*)
sys_linux=true
AC_DEFINE(FLAC__SYS_LINUX)
AH_TEMPLATE(FLAC__SYS_LINUX, [define if building for Linux])
--
2.11.0