From 0e0cd0c09dcce95a240a26ddc359968f9de6be57 Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Wed, 6 Apr 2016 23:20:46 +0300 Subject: fix qtbase on Wheezy (don't use c++1y) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The error: `g++: error: unrecognized command line option ‘-std=c++1y’` Full log: https://gist.github.com/147a8e697b4be73dad0218598dab2608 The problem was solved by setting C++ version to C++11 explicitly. --- src/qtbase.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qtbase.mk b/src/qtbase.mk index f2c64f0..e4575be 100644 --- a/src/qtbase.mk +++ b/src/qtbase.mk @@ -26,6 +26,7 @@ define $(PKG)_BUILD SYBASE_LIBS="-lsybdb `'$(TARGET)-pkg-config' --libs-only-l gnutls` -liconv -lws2_32" \ ./configure \ -opensource \ + -c++std c++11 \ -confirm-license \ -xplatform win32-g++ \ -device-option CROSS_COMPILE=${TARGET}- \ -- cgit v0.12