cmocka
cmocka copied to clipboard
Build fail on LP64 (SPARC)
Length of "__WORDSIZE" is not set in studio cc so the conditions are incorrectly evaluated when code is built on SPARC.
Try using the official upstream code, at https://gitlab.com/cmocka/cmocka
I've had a quick check, and the latest commit (cf31d3fc68410f4f753418f32d4ad89d8fbc2cb2) doesn't seem to have __WORDSIZE
anywhere, see include/cmocka.h@cf31d3fc68410f4f753418f32d4ad89d8fbc2cb2
This is a fork of cmocka. I'd recommend to move this to the upstream repository.