From 813a1750febb8e3f92b3b2a933fba1773b7c16b6 Mon Sep 17 00:00:00 2001 From: mdankov Date: Fri, 28 Mar 2014 20:20:05 +0000 Subject: Fix:port_wince:Partially revert r5746 to allow cmake wince builds with gcc versions >5.7.0 git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5761 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 3833ba14..bb3e3e01 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -527,6 +527,8 @@ if(WINCE) add_plugin(support/libc "wince detected" TRUE) set(HAVE_API_WIN32_CE 1) set(BUILD_MAPTOOL FALSE) + # mingw32ce since gcc 4.7.0 needs HAVE_PRAGMA_PACK as __attribute__((packed)) is broken, see gcc bug 52991 + set(HAVE_PRAGMA_PACK 1) set_with_reason(vehicle/file "wince: currently broken" FALSE) set_with_reason(vehicle/wince "wince detected" TRUE) endif() -- cgit v1.2.1