mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
shared: add LIB_ARCH tuples for BE ARM archs
This commit is contained in:
parent
55ebf98cbe
commit
0881d7af14
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user