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.
This commit is contained in:
Rich Felker 2014-02-27 22:20:44 -05:00
commit 5c27c4458f
3 changed files with 7 additions and 7 deletions

4
configure vendored
View file

@ -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"