From a71a41c4f2f8ffa2efbf6877ccb18726987bcbd7 Mon Sep 17 00:00:00 2001 From: Lubosz Sarnecki Date: Sat, 17 May 2014 14:43:24 +0200 Subject: [PATCH 5/6] fix cairo build with gcc 4.9 --- recipes/cairo.recipe | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes/cairo.recipe b/recipes/cairo.recipe index 89febd0..20cb0e5 100644 --- a/recipes/cairo.recipe +++ b/recipes/cairo.recipe @@ -37,6 +37,10 @@ class Recipe(recipe.Recipe): make_check = None def prepare(self): + self.append_env['CFLAGS'] = " -fno-lto " + self.append_env['CXXFLAGS'] = " -fno-lto " + self.append_env['CPPFLAGS'] = " -fno-lto " + if self.config.variants.x11: self.files_devel += ['lib/pkgconfig/cairo-xlib-xrender.pc', 'lib/pkgconfig/cairo-xlib.pc'] -- 2.0.0