Skip to content

Commit 4f676e7

Browse files
committed
Disable usage of SSE4.2 in LuaJiT.
1 parent 7dd0bd9 commit 4f676e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ RUN \
3939
# Compile.
4040
echo "Compiling OpenResty..." && \
4141
cd openresty && \
42+
# Disable SSE4.2 since this is not supported by all CPUs...
43+
sed-patch 's|#ifndef __SSE4_2__|#if 1|' configure && \
4244
./configure -j$(nproc) \
4345
--prefix=/var/lib/nginx \
4446
--sbin-path=/usr/sbin/nginx \

0 commit comments

Comments
 (0)