diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2016-05-17 15:35:50 +0200 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-05-17 23:48:28 -0400 |
commit | 6f1ea8bd218275e2a7f4a5b274cb18e5b14aee28 (patch) | |
tree | e864e3d98436ad59ce18f5e7ccf8ce828ed52687 /recipes-containers/docker | |
parent | fd94b3f2e6ad3a74bc3af5f30a1f3f86a9dc42bf (diff) | |
download | meta-virtualization-6f1ea8bd218275e2a7f4a5b274cb18e5b14aee28.tar.gz |
lxc: workaround to ignore deprecated
Recent patch did deprecate a standard POSIX function [1].
This is the build error:
| ../../../lxc-2.0.0/src/lxc/cgfs.c: In function 'cgroup_rmdir':
| ../../../lxc-2.0.0/src/lxc/cgfs.c:172:2: error: 'readdir_r' is deprecated [-Werror=deprecated-declarations]
| while (!readdir_r(dir, &dirent, &direntp)) {
| ^
| In file included from ../../../lxc-2.0.0/src/lxc/cgfs.c:30:0:
| /.../build/tmp-glibc/sysroots/qemux86-64/usr/include/dirent.h:183:12: note: declared here
| extern int readdir_r (DIR *__restrict __dirp,
| ^
[1] https://www.sourceware.org/ml/libc-alpha/2016-02/msg00093.html
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-containers/docker')
0 files changed, 0 insertions, 0 deletions