From 7ac9bf3d5aae66085edbde9762983def54ef3091 Mon Sep 17 00:00:00 2001 From: Daniel Stankewitz Date: Sat, 20 Jul 2019 09:11:43 +0200 Subject: [PATCH] Update build_tc.sh --- build_tc.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build_tc.sh b/build_tc.sh index f9d35ea..6808dad 100644 --- a/build_tc.sh +++ b/build_tc.sh @@ -27,7 +27,7 @@ function compile { if [ -f autogen.sh ]; then ./autogen.sh fi - CC=cl ./configure --prefix=$BUILD $2 + CC=cl CFLAGS=$CFLAGS ./configure --prefix=$BUILD $2 make -j $CPU_CORES make install } @@ -38,9 +38,9 @@ if [ "$STEP" == "libmfx" ]; then autoreconf -fiv || exit 1 fi if [ "$MODE" == "debug" ]; then - compile libmfx "--enable-debug --extra-cflags=$CFLAGS" + compile libmfx "--enable-debug" else - compile libmfx "--extra-cflags=$CFLAGS" + compile libmfx fi sed -i 's/-lstdc++/-ladvapi32/g' $BUILD/lib/pkgconfig/libmfx.pc elif [ "$STEP" == "opus" ]; then