package/unscd: disable on riscv32
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 27 May 2021 20:19:04 +0000 (22:19 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 1 Jun 2021 20:32:10 +0000 (22:32 +0200)
commit34173da168f300b58957abb53c8f5fcaf8d8e605
treea32749f4f6c63149f2833b2dba23f1a1879816d5
parentdc34fa5c6cd99ae748a18e2ce0467ac6e117f8eb
package/unscd: disable on riscv32

unscd unconditionally uses __NR_clock_gettime which will raise the
following build failure on riscv32:

nscd-0.54.c:339:14: error: '__NR_clock_gettime' undeclared (first use in this function); did you mean 'clock_gettime'?
  339 |  if (syscall(__NR_clock_gettime, CLOCK_MONOTONIC, &ts))
      |              ^~~~~~~~~~~~~~~~~~
      |              clock_gettime

Fixes:
 - http://autobuild.buildroot.org/results/eb77b18f268d8e59c407f757662117a33d3f9ee3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/unscd/Config.in