4 Commits

Author SHA1 Message Date
Khem Raj
225ba9c9bc libnfs: Drop -Wno-implicit-function-declaration
clang builds work without this Workaround

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 61663d299051669c7c08c90da2518f0f24fabaaa)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-04 07:52:49 -07:00
Markus Volk
9f3376b521 libnfs: dont install libnfs-config.cmake
kodi uses its own FindNFS.cmake	to find	libnfs and succeeds with pkgconfig.
If libnfs-config.cmake is found it will also be utilized (for win/mac?)
which is generally bad for cross-compiling and causes the prefix to get hardcoded
to /usr thus libnfs.so.5.0.2 is taken from the host machine

Removing this file fixes:
| aarch64-poky-linux-ld.lld: error: /usr/lib/libnfs.so.5.0.2 is incompatible with elf64-littleaarch64
| aarch64-poky-linux-clang++: error: linker command failed with exit code 1 (use -v to see invocation)
| ninja: build stopped: subcommand failed.

Add CFLAG workaround to fix compiling with clang complaining about
old coding style while gcc doesn't care.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 708b3016e81a2a06883b0bb23bfedc8cb3e3239d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-04 07:52:48 -07:00
Martin Jansa
be1fa63b69 libnfs: fix installed-vs-shipped issues with multilib
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-03 21:24:55 -07:00
Markus Volk
8486680d5b libnfs: add recipe
This package is e.g. needed as a dependency for kodi or gvfs

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-08 10:05:00 -07:00