mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-02 21:42:24 +08:00
20 lines
304 B
Diff
20 lines
304 B
Diff
--- a/auto/endianness
|
|
+++ b/auto/endianness
|
|
@@ -12,6 +12,16 @@ checking for system byte ordering
|
|
|
|
END
|
|
|
|
+if [ "${CONFIG_BIG_ENDIAN}" != "y" ]; then
|
|
+ echo " little endian"
|
|
+ have=NGX_HAVE_LITTLE_ENDIAN . auto/have
|
|
+else
|
|
+ echo " big endian"
|
|
+fi
|
|
+
|
|
+return
|
|
+
|
|
+
|
|
|
|
cat << END > $NGX_AUTOTEST.c
|
|
|