diff options
author | Daniel Black <daniel.black@au1.ibm.com> | 2017-03-09 11:57:10 +1100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-03-09 22:09:12 +0100 |
commit | f812addeb739c9ddf9d55515c4a9cfc3c3ff54b3 (patch) | |
tree | 252a0fbadaef34af0fe889fca53aafe7b9987a0e /package/python/0033-Add-an-option-to-disable-readline-module.patch | |
parent | 497ed4ea664161da0b6e84b833fc47dfa44db3a2 (diff) | |
download | buildroot-f812addeb739c9ddf9d55515c4a9cfc3c3ff54b3.tar.gz buildroot-f812addeb739c9ddf9d55515c4a9cfc3c3ff54b3.zip |
package/pkg-cmake: set CMAKE_SYSTEM_PROCESSOR correctly on powerpc64{, le}
Like ARM, BR2_ARCH doesn't correspond to the uname -m. With cmake
CMAKE_SYSTEM_PROCESSOR is expected to contain the uname -m value.
So we change CMAKE_SYSTEM_PROCESSOR from powerpc64 -> ppc64 (big endian)
and powerpc64le -> ppc64le (little endian).
This corrects the cross compile to the powerpc64{,le} target
architecture for the mariadb (and possibly others) packages that
use the CMAKE_SYSTEM_PROCESSOR variable and compare it against
Power64 based architectures.
Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
Acked-by: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python/0033-Add-an-option-to-disable-readline-module.patch')
0 files changed, 0 insertions, 0 deletions