RC4 compile ends in errors … why?

Trying and failing to build RC4 on a RPi2 (Arch ARM). My build receipe works fine for RC3…

Code:
cmake -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
    -DCMAKE_PREFIX_PATH=/opt/vc \
    -DCORE_SYSTEM_NAME=rbpi \
    -DWITH_CPU=cortex-a7 \
    -DENABLE_EVENTCLIENTS=ON \
    -DENABLE_OPENGL=OFF \
    -DENABLE_X11=OFF \
    -DENABLE_VAAPI=OFF \
    -DENABLE_VDPAU=OFF \
    -DLIRC_DEVICE=/run/lirc/lircd \
    ../xbmc/project/cmake

  make VERBOSE=1

Entire build log.

If I grep out ‘error’ from that log, I get a few key lines I think:

Code:
/scratch-nfs/PKGBUILDs/alarm/kodi-rbp-git/src/xbmc-17.0rc4-Krypton/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.h:51:19: fatal error: cwiid.h: No such file or directory
distcc[11784] ERROR: compile /scratch-nfs/PKGBUILDs/alarm/kodi-rbp-git/src/xbmc-17.0rc4-Krypton/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.cpp on ease/9 failed
/scratch-nfs/PKGBUILDs/alarm/kodi-rbp-git/src/xbmc-17.0rc4-Krypton/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.h:51:19: fatal error: cwiid.h: No such file or directory
distcc[11784] ERROR: compile /scratch-nfs/PKGBUILDs/alarm/kodi-rbp-git/src/xbmc-17.0rc4-Krypton/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.cpp on localhost failed
make[2]: *** [build/WiiRemote/CMakeFiles/kodi-wiiremote.dir/build.make:63: build/WiiRemote/CMakeFiles/kodi-wiiremote.dir/CWIID_WiiRemote.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:9944: build/WiiRemote/CMakeFiles/kodi-wiiremote.dir/all] Error 2
checking for gcc way to treat warnings as errors... no
  CC       src/error.lo
/scratch-nfs/PKGBUILDs/alarm/kodi-rbp-git/src/kodi-build/build/libdvd/src/dvdcss/src/error.c:1:0: warning: switch -mcpu=cortex-a7 conflicts with -march=armv7-a switch
/scratch-nfs/PKGBUILDs/alarm/kodi-rbp-git/src/kodi-build/build/libdvd/src/dvdcss/src/error.c:1:0: warning: switch -mcpu=cortex-a7 conflicts with -march=armv7-a switch
CC    libavcodec/error_resilience.o
CC    libavutil/error.o
INSTALL    scratch-nfs/PKGBUILDs/alarm/kodi-rbp-git/src/kodi-build/build/ffmpeg/src/ffmpeg/libavutil/error.h
make: *** [Makefile:139: all] Error 2
==> ERROR: A failure occurred in build().

Is it that wiiremote that’s killing it? How can I disable that?

EDIT: Seems as though having the cwiid package installed as a makedep allows the build to finish successfully…. this is a change from RC3 as stated. Also, this is not required when building for x86_64.