x264 won't compile on MacBook Pro M1
antoniotuzzi opened this issue · 0 comments
antoniotuzzi commented
had to add
--host=arm-linux
to this sequence:
wget http://download.videolan.org/pub/x264/snapshots/x264-snapshot-$X264.tar.bz2 && \
tar xjvf x264-snapshot-$X264.tar.bz2 && \
cd x264-snapshot-$X264 && \
PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" --enable-static --disable-opencl --disable-asm --host=arm-linux && \
PATH="$HOME/bin:$PATH" make && \
make install && \
make distclean