1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-25 23:21:33 +03:00

shared: add LIB_ARCH tuples for BE ARM archs

This commit is contained in:
Lennart Poettering 2014-07-03 15:50:53 +02:00
parent 55ebf98cbe
commit 0881d7af14

View File

@ -143,13 +143,16 @@ Architecture uname_architecture(void);
#elif defined(__arm__)
# if defined(WORDS_BIGENDIAN)
# define native_architecture() ARCHITECTURE_ARM_BE
# error "Missing LIB_ARCH_TUPLE for ARM_BE"
# else
# if defined(__ARM_PCS_VFP)
# define native_architecture() ARCHITECTURE_ARM
# define LIB_ARCH_TUPLE "armeb-linux-gnueabihf"
# else
# define LIB_ARCH_TUPLE "armeb-linux-gnueabi"
# endif
# else
# define native_architecture() ARCHITECTURE_ARM
# if defined(__ARM_PCS_VFP)
# define LIB_ARCH_TUPLE "arm-linux-gnueabihf"
# else
# define native_architecture() ARCHITECTURE_ARM
# define LIB_ARCH_TUPLE "arm-linux-gnueabi"
# endif
# endif