Update build_tc.sh

This commit is contained in:
Daniel Stankewitz 2018-07-02 08:37:51 +02:00 committed by GitHub
parent b26ab4f63e
commit c2c4bba6ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,6 @@ fi
function compile { function compile {
cd $SRC/$1 cd $SRC/$1
make clean
CC=cl ./configure --prefix=$BUILD $2 CC=cl ./configure --prefix=$BUILD $2
make -j $CPU_CORES make -j $CPU_CORES
make install make install
@ -42,7 +41,6 @@ elif [ "$STEP" == "zimg" ]; then
cp zimg.pc $BUILD/lib/pkgconfig/zimg.pc cp zimg.pc $BUILD/lib/pkgconfig/zimg.pc
elif [ "$STEP" == "x264" ]; then elif [ "$STEP" == "x264" ]; then
cd $SRC/x264 cd $SRC/x264
make clean
CC=cl ./configure --prefix=$BUILD --extra-cflags='-DNO_PREFIX' --disable-cli --enable-static --libdir=$BUILD/lib CC=cl ./configure --prefix=$BUILD --extra-cflags='-DNO_PREFIX' --disable-cli --enable-static --libdir=$BUILD/lib
make -j $CPU_CORES make -j $CPU_CORES
make install-lib-static make install-lib-static
@ -96,7 +94,6 @@ elif [ "$STEP" == "ffmpeg" ]; then
echo "### Compiling FFMpeg ..." echo "### Compiling FFMpeg ..."
cd $SRC/ffmpeg cd $SRC/ffmpeg
make clean
if [ "$MODE" == "debug" ]; then if [ "$MODE" == "debug" ]; then
CFLAGS=-MDd CFLAGS=-MDd
elif [ "$MODE" == "release" ]; then elif [ "$MODE" == "release" ]; then