|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH] tests/xenstore: link in librt
Jan Beulich writes ("[PATCH] tests/xenstore: link in librt"):
> Old enough glibc has clock_gettime() in librt.so, hence the library
> needs to be specified to the linker.
>
> Fixes: 93c9edbef51b ("tests/xenstore: Rework Makefile")
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> ---
> Cc list based on the assumption that the XENSTORE section of
> ./MAINTAINERS probably ought to list the containing directory.
>
> --- a/tools/tests/xenstore/Makefile
> +++ b/tools/tests/xenstore/Makefile
> @@ -31,6 +31,7 @@ CFLAGS += -Werror
> CFLAGS += $(CFLAGS_libxenstore)
> CFLAGS += $(APPEND_CFLAGS)
>
> +LDFLAGS += -lrt
Don't this unconditionally is definitely not right.
How old a glibc are we talking about ? (I looked at the minimum
versions listed in README and there's notthing about glibc; perhaps
should be.)
Ian.
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |