From 90eb983696a9dc6b50ce0ca076207e4d22b71cf4 Mon Sep 17 00:00:00 2001 From: Sergey Chupligin Date: Thu, 8 Nov 2018 11:31:31 +0300 Subject: [PATCH] [Packaging] Fix build with qt 5.9. Fixes MER#1983 --- mms-lib/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mms-lib/Makefile b/mms-lib/Makefile index ef62b35..43107ab 100644 --- a/mms-lib/Makefile +++ b/mms-lib/Makefile @@ -54,6 +54,9 @@ SRC = \ ifeq ($(MMS_RESIZE),Qt) SRC_CPP += mms_attachment_qt.cpp +ifeq ($(shell $(CROSS_COMPILE)gcc -std=c++11 -dM -E - < /dev/null > /dev/null 2>&1; echo $$?),0) +RESIZE_CPPFLAGS += -std=c++11 +endif endif #