Watch out for qmake failures on Linux

This commit is contained in:
vit9696 2018-05-07 21:43:12 +03:00
parent a03b87785f
commit 217df48c45

View File

@ -52,7 +52,7 @@ build_tool() {
if [ "$UPLATFORM" = "mac" ]; then if [ "$UPLATFORM" = "mac" ]; then
qmake $3 QMAKE_CXXFLAGS+=-flto QMAKE_LFLAGS+=-flto CONFIG+=optimize_size || exit 1 qmake $3 QMAKE_CXXFLAGS+=-flto QMAKE_LFLAGS+=-flto CONFIG+=optimize_size || exit 1
else else
qmake $3 CONFIG+=optimize_size qmake $3 CONFIG+=optimize_size || exit 1
fi fi
else else
if [ "$UPLATFORM" = "mac" ]; then if [ "$UPLATFORM" = "mac" ]; then