Fix ldflags

This commit is contained in:
Kagami Hiiragi 2019-04-07 00:01:38 +03:00
parent 3aecee82c5
commit ef3f962038
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,6 @@ install:
cmake ../aom -G 'MSYS Makefiles' \ cmake ../aom -G 'MSYS Makefiles' \
-DCMAKE_MAKE_PROGRAM=mingw32-make \ -DCMAKE_MAKE_PROGRAM=mingw32-make \
-DCMAKE_C_COMPILER=gcc \ -DCMAKE_C_COMPILER=gcc \
-DCMAKE_CXX_COMPILER=g++ \
-DCMAKE_INSTALL_PREFIX=~/aom/dist \ -DCMAKE_INSTALL_PREFIX=~/aom/dist \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCONFIG_AV1_DECODER=0 \ -DCONFIG_AV1_DECODER=0 \
@ -47,6 +46,7 @@ install:
-DCONFIG_LOWBITDEPTH=1 -DCONFIG_LOWBITDEPTH=1
make -j3 make -j3
sudo make install sudo make install
export CGO_LDFLAGS="-static"
fi fi
script: script: