diff options
author | Jonas Suhr Christensen <jsc@umbraculum.org> | 2016-04-25 13:43:28 +0200 |
---|---|---|
committer | Jonas Suhr Christensen <jsc@umbraculum.org> | 2016-04-25 13:43:28 +0200 |
commit | f8feb953c6d86bee12747679e5e4dac7795a65d0 (patch) | |
tree | 79fedc6e8e4f177261096bea1577710f39e2ca4f /configure.ac | |
parent | c2a401ad548c2b7f745e4370f5f03f0b5692a6e3 (diff) |
configure.ac: Added -lrt as to LDFLAGS. -lrt is needed when using
'clock_time' with glibc < 2.17.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 92f2a81..f44226a 100644 --- a/configure.ac +++ b/configure.ac @@ -20,6 +20,7 @@ dnl =========================== AC_LANG_PUSH([C++]) TMP_CXXFLAGS="$CXXFLAGS" CXXFLAGS=-std=c++11 +LDFLAGS=-lrt AC_MSG_CHECKING([whether CXX supports -std=c++11]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], [AC_MSG_RESULT([yes])], |