build system endianness test fails for ppc64le (i.e. Ubuntu)

Description

When building in the source dir, cmake fails with this error:

When building in a subdir of the source tree, cmake succeeds, but the make step fails for jemalloc-configure:

Following those instructions and updating config.guess and config.sub fixes this problem. Not sure how to fix cmake above.

Environment

Ubuntu ppc64le (Power8, little endian)

Assignee

Sergei Golubchik

Reporter

Axel Schwenke

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure