toolchain/external: bump Linaro ARMeb to 2016.05 for i686 hosts
[buildroot-gz.git] / package / graphite2 / 0001-disable-double-promotion.patch
blob3bda3d7c63eca45c287242961df0158f368f1531
1 Don't use -Wdouble-promotion gcc option
3 The warning flag isn't recognized for older GCC versions (blackfin),
4 so just disable it.
6 Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
7 [Gustavo: update for 1.3.5]
9 diff -Nura graphite2-1.3.5.orig/src/CMakeLists.txt graphite2-1.3.5/src/CMakeLists.txt
10 --- graphite2-1.3.5.orig/src/CMakeLists.txt 2016-02-15 11:46:45.941906112 -0300
11 +++ graphite2-1.3.5/src/CMakeLists.txt 2016-02-15 11:46:54.237194222 -0300
12 @@ -111,9 +111,6 @@
13 COMPILE_FLAGS "-Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wctor-dtor-privacy -Wnon-virtual-dtor -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector"
14 LINK_FLAGS "-nodefaultlibs ${GRAPHITE_LINK_FLAGS}"
15 LINKER_LANGUAGE C)
16 - if (CMAKE_COMPILER_IS_GNUCXX)
17 - add_definitions(-Wdouble-promotion)
18 - endif (CMAKE_COMPILER_IS_GNUCXX)
19 message(STATUS "Compiler ID is: ${CMAKE_CXX_COMPILER_ID}")
20 if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
21 add_definitions(-Wimplicit-fallthrough)