File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,11 @@ curl -# -L https://github.com/openembedded/meta-openembedded/raw/master/meta-web
100
100
curl -# -L https://github.com/openembedded/meta-openembedded/raw/master/meta-webserver/recipes-httpd/nginx/files/0001-Allow-the-overriding-of-the-endianness-via-the-confi.patch | patch -p1 -d " $NGINX_SRC_DIR "
101
101
102
102
case " $( xx-info arch) " in
103
- x86_64|aarch64) PTRSIZE=8 ;;
104
- * ) PTRSIZE=4 ;;
103
+ amd64) PTRSIZE=8; ENDIANNESS=little ;;
104
+ arm64) PTRSIZE=8; ENDIANNESS=little ;;
105
+ 386) PTRSIZE=4; ENDIANNESS=little ;;
106
+ arm) PTRSIZE=4; ENDIANNESS=little ;;
107
+ * ) echo " Unknown ARCH: $( xx-info arch) " ; exit 1 ;;
105
108
esac
106
109
107
110
log " Configuring OpenResty..."
@@ -133,11 +136,12 @@ log "Configuring OpenResty..."
133
136
--with-threads \
134
137
--with-file-aio \
135
138
\
139
+ --with-endian=$ENDIANNESS \
136
140
--with-int=4 \
137
141
--with-long=${PTRSIZE} \
138
142
--with-long-long=8 \
139
143
--with-ptr-size=${PTRSIZE} \
140
- --with-sig-atomic-t=${PTRSIZE} \
144
+ --with-sig-atomic-t=4 \
141
145
--with-size-t=${PTRSIZE} \
142
146
--with-off-t=8 \
143
147
--with-time-t=${PTRSIZE} \
You can’t perform that action at this time.
0 commit comments