@@ -213,7 +213,7 @@ if [ $is_x86 -eq 1 ]; then
213213 cd $BUILD_DIR /yasm*
214214 [ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
215215 [ ! -f config.status ] && ./configure --prefix=$TARGET_DIR --bindir=$BIN_DIR
216- make -j $jval
216+ make -j $jval >> make.log 2>&1
217217 make install
218218fi
219219
@@ -222,29 +222,29 @@ if [ $is_x86 -eq 1 ]; then
222222 cd $BUILD_DIR /nasm*
223223 [ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
224224 [ ! -f config.status ] && ./configure --prefix=$TARGET_DIR --bindir=$BIN_DIR
225- make -j $jval
225+ make -j $jval >> make.log 2>&1
226226 make install
227227fi
228228
229229echo " *** Building OpenSSL ***"
230230cd $BUILD_DIR /openssl*
231231[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
232232PATH=" $BIN_DIR :$PATH " ./config --prefix=$TARGET_DIR
233- PATH=" $BIN_DIR :$PATH " make -j $jval
233+ PATH=" $BIN_DIR :$PATH " make -j $jval >> make.log 2>&1
234234make install
235235
236236echo " *** Building zlib ***"
237237cd $BUILD_DIR /zlib*
238238[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
239239[ ! -f config.status ] && PATH=" $BIN_DIR :$PATH " ./configure --prefix=$TARGET_DIR
240- PATH=" $BIN_DIR :$PATH " make -j $jval
240+ PATH=" $BIN_DIR :$PATH " make -j $jval >> make.log 2>&1
241241make install
242242
243243echo " *** Building x264 ***"
244244cd $BUILD_DIR /x264*
245245[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
246246[ ! -f config.status ] && PATH=" $BIN_DIR :$PATH " ./configure --prefix=$TARGET_DIR --enable-static --disable-shared --disable-opencl --enable-pic
247- PATH=" $BIN_DIR :$PATH " make -j $jval
247+ PATH=" $BIN_DIR :$PATH " make -j $jval >> make.log 2>&1
248248make install
249249
250250echo " *** Building x265 ***"
@@ -253,37 +253,37 @@ cd build/linux
253253[ $rebuild -eq 1 ] && find . -mindepth 1 ! -name ' make-Makefiles.bash' -and ! -name ' multilib.sh' -exec rm -r {} +
254254PATH=" $BIN_DIR :$PATH " cmake -G " Unix Makefiles" -DCMAKE_INSTALL_PREFIX=" $TARGET_DIR " -DENABLE_SHARED:BOOL=OFF -DSTATIC_LINK_CRT:BOOL=ON -DENABLE_CLI:BOOL=OFF ../../source
255255sed -i ' s/-lgcc_s/-lgcc_eh/g' x265.pc
256- make -j $jval
256+ make -j $jval >> make.log 2>&1
257257make install
258258
259259echo " *** Building fdk-aac ***"
260260cd $BUILD_DIR /fdk-aac*
261261[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
262262autoreconf -fiv
263263[ ! -f config.status ] && ./configure --prefix=$TARGET_DIR --disable-shared
264- make -j $jval
264+ make -j $jval >> make.log 2>&1
265265make install
266266
267267echo " *** Building harfbuzz ***"
268268cd $BUILD_DIR /harfbuzz-*
269269[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
270270./configure --prefix=$TARGET_DIR --disable-shared --enable-static
271- make -j $jval
271+ make -j $jval >> make.log 2>&1
272272make install
273273
274274echo " *** Building fribidi ***"
275275cd $BUILD_DIR /fribidi-*
276276[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
277277./configure --prefix=$TARGET_DIR --disable-shared --enable-static --disable-docs
278- make -j $jval
278+ make -j $jval >> make.log 2>&1
279279make install
280280
281281echo " *** Building libass ***"
282282cd $BUILD_DIR /libass-*
283283[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
284284./autogen.sh
285285./configure --prefix=$TARGET_DIR --disable-shared
286- make -j $jval
286+ make -j $jval >> make.log 2>&1
287287make install
288288
289289echo " *** Building mp3lame ***"
@@ -292,94 +292,94 @@ cd $BUILD_DIR/lame*
292292uname -a | grep -q ' aarch64' && lame_build_target=" --build=arm-linux" || lame_build_target=' '
293293[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
294294[ ! -f config.status ] && ./configure --prefix=$TARGET_DIR --enable-nasm --disable-shared $lame_build_target
295- make
295+ make >> make.log 2>&1
296296make install
297297
298298echo " *** Building opus ***"
299299cd $BUILD_DIR /opus*
300300[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
301301[ ! -f config.status ] && ./configure --prefix=$TARGET_DIR --disable-shared
302- make
302+ make >> make.log 2>&1
303303make install
304304
305305echo " *** Building libvpx ***"
306306cd $BUILD_DIR /libvpx*
307307[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
308308[ ! -f config.status ] && PATH=" $BIN_DIR :$PATH " ./configure --prefix=$TARGET_DIR --disable-examples --disable-unit-tests --enable-pic
309- PATH=" $BIN_DIR :$PATH " make -j $jval
309+ PATH=" $BIN_DIR :$PATH " make -j $jval >> make.log 2>&1
310310make install
311311
312312echo " *** Building librtmp ***"
313313cd $BUILD_DIR /rtmpdump-*
314314cd librtmp
315- [ $rebuild -eq 1 ] && make distclean || true
315+ [ $rebuild -eq 1 ] && make distclean >> make.log 2>&1 || true
316316
317317# there's no configure, we have to edit Makefile directly
318318sed -i " /INC=.*/d" ./Makefile # Remove INC if present from previous run.
319319sed -i " s/prefix=.*/prefix=${TARGET_DIR_SED} \nINC=-I\$ (prefix)\/include/" ./Makefile
320320sed -i " s/SHARED=.*/SHARED=no/" ./Makefile
321- make install_base
321+ make install_base >> make.log 2>&1
322322
323323echo " *** Building libsoxr ***"
324324cd $BUILD_DIR /soxr-*
325325[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
326326PATH=" $BIN_DIR :$PATH " cmake -G " Unix Makefiles" -DCMAKE_INSTALL_PREFIX=" $TARGET_DIR " -DBUILD_SHARED_LIBS:bool=off -DWITH_OPENMP:bool=off -DBUILD_TESTS:bool=off
327- make -j $jval
327+ make -j $jval >> make.log 2>&1
328328make install
329329
330330echo " *** Building libvidstab ***"
331331cd $BUILD_DIR /vid.stab-release-*
332332[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
333333sed -i " s/vidstab SHARED/vidstab STATIC/" ./CMakeLists.txt
334334PATH=" $BIN_DIR :$PATH " cmake -G " Unix Makefiles" -DCMAKE_INSTALL_PREFIX=" $TARGET_DIR "
335- make -j $jval
335+ make -j $jval >> make.log 2>&1
336336make install
337337
338338echo " *** Building openjpeg ***"
339339cd $BUILD_DIR /openjpeg-*
340340[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
341341PATH=" $BIN_DIR :$PATH " cmake -G " Unix Makefiles" -DCMAKE_INSTALL_PREFIX=" $TARGET_DIR " -DBUILD_SHARED_LIBS:bool=off
342- make -j $jval
342+ make -j $jval >> make.log 2>&1
343343make install
344344
345345echo " *** Building zimg ***"
346346cd $BUILD_DIR /zimg-release-*
347347[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
348348./autogen.sh
349349./configure --enable-static --prefix=$TARGET_DIR --disable-shared
350- make -j $jval
350+ make -j $jval >> make.log 2>&1
351351make install
352352
353353echo " *** Building libwebp ***"
354354cd $BUILD_DIR /libwebp*
355355[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
356356./autogen.sh
357357./configure --prefix=$TARGET_DIR --disable-shared
358- make -j $jval
358+ make -j $jval >> make.log 2>&1
359359make install
360360
361361echo " *** Building libvorbis ***"
362362cd $BUILD_DIR /vorbis*
363363[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
364364./autogen.sh
365365./configure --prefix=$TARGET_DIR --disable-shared
366- make -j $jval
366+ make -j $jval >> make.log 2>&1
367367make install
368368
369369echo " *** Building libogg ***"
370370cd $BUILD_DIR /ogg*
371371[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
372372./autogen.sh
373373./configure --prefix=$TARGET_DIR --disable-shared
374- make -j $jval
374+ make -j $jval >> make.log 2>&1
375375make install
376376
377377echo " *** Building libspeex ***"
378378cd $BUILD_DIR /speex*
379379[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
380380./autogen.sh
381381./configure --prefix=$TARGET_DIR --disable-shared
382- make -j $jval
382+ make -j $jval >> make.log 2>&1
383383make install
384384
385385# FFMpeg
0 commit comments