diff --git a/linux-amd64.Dockerfile b/linux-amd64.Dockerfile index 1b439fe5..e1f2b3a8 100644 --- a/linux-amd64.Dockerfile +++ b/linux-amd64.Dockerfile @@ -8,7 +8,7 @@ RUN apk --update --no-cache add build-base && \ tar -xzf /tmp/unrar.tar.gz && \ cd unrar && \ sed -i 's|LDFLAGS=-pthread|LDFLAGS=-pthread -static|' makefile && \ - sed -i 's|CXXFLAGS=-march=native|CXXFLAGS=-march=x86-64-v2|' makefile && \ + sed -i 's|CXXFLAGS=-march=native |CXXFLAGS=|' makefile && \ make -f makefile && \ install -Dm 755 unrar /usr/bin/unrar