diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-02-27 22:20:44 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-02-27 22:20:44 -0500 |
commit | 5c27c4458f11adaba261353f84bcde4f79f0bdbd (patch) | |
tree | 624a629a4c81312bd00123aa9562cde71683e4cb /configure | |
parent | aacd348637e38795dd7ae3c7c8c908d8c0cd24fd (diff) | |
download | musl-5c27c4458f11adaba261353f84bcde4f79f0bdbd.tar.gz musl-5c27c4458f11adaba261353f84bcde4f79f0bdbd.tar.bz2 musl-5c27c4458f11adaba261353f84bcde4f79f0bdbd.tar.xz musl-5c27c4458f11adaba261353f84bcde4f79f0bdbd.zip |
fix endian subarchs for sh arch
default endianness for sh on linux is little, and while conventions
vary, "eb" seems to be the most widely used suffix for big endian.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -421,8 +421,8 @@ fi test "$ARCH" = "microblaze" && trycppif __MICROBLAZEEL__ "$t" \ && SUBARCH=${SUBARCH}el -test "$ARCH" = "sh" && trycppif __LITTLE_ENDIAN__ "$t" \ -&& SUBARCH=${SUBARCH}el +test "$ARCH" = "sh" && trycppif __BIG_ENDIAN__ "$t" \ +&& SUBARCH=${SUBARCH}eb test "$SUBARCH" \ && printf "configured for %s variant: %s\n" "$ARCH" "$ARCH$SUBARCH" |