From f2a164979acf77e07daa7f3bc38d1c63b5904ad9 Mon Sep 17 00:00:00 2001 From: Calcitem Date: Wed, 2 Oct 2019 19:58:56 +0800 Subject: [PATCH] build: qt: android: Fix build failed Reference: https://bugreports.qt.io/browse/QTBUG-76293 --- millgame.pro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/millgame.pro b/millgame.pro index c3720c62..d879137e 100644 --- a/millgame.pro +++ b/millgame.pro @@ -110,3 +110,7 @@ QMAKE_CXXFLAGS += -std=c++0x *msvc* { QMAKE_CXXFLAGS += /MP } + +android { + QMAKE_LFLAGS += -nostdlib++ +}