From 957f4841fb80686cec5664c834f1c4d0e364a263 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Thu, 1 Aug 2019 13:17:05 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=BB=D0=B0=D0=B3=20-Wno-invalid-offseto?= =?UTF-8?q?f=20=D0=B4=D0=BB=D1=8F=20=D0=AD=D0=BB=D1=8C=D0=B1=D1=80=D1=83?= =?UTF-8?q?=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMLibCompilerFlags.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/CMLibCompilerFlags.cmake b/CMLibCompilerFlags.cmake index 9234fe9..e060008 100644 --- a/CMLibCompilerFlags.cmake +++ b/CMLibCompilerFlags.cmake @@ -117,6 +117,7 @@ if(CMAKE_CXX_COMPILER_IS_GCC) endif() if(CMAKE_SYSTEM_PROCESSOR STREQUAL "e2k") + check_enable_cxx_flag(-Wno-invalid-offsetof) add_definitions(-DQT_NO_VERSION_TAGGING) list(APPEND CMAKE_LIBRARY_PATH "/usr/lib/e2k-linux-gnu") endif()