summaryrefslogtreecommitdiff
path: root/recipes/cairo.recipe
diff options
context:
space:
mode:
authorLubosz Sarnecki <lubosz@gmail.com>2014-06-11 20:33:32 +0200
committerEdward Hervey <bilboed@bilboed.com>2015-04-22 17:27:57 +0200
commit62a6d8b9d8f2626b69cc7028294755c4ff8da815 (patch)
tree54f8cfc0992c5e148fc346c61a77c5ab4d861001 /recipes/cairo.recipe
parenta2829a2267387138345fd7c62849b027b539b190 (diff)
archlinux: Add Arch Linux support
https://bugzilla.gnome.org/show_bug.cgi?id=732131 * support gtk, gtk3 and glib recipies * libkate: custom LDFLAGS * gobject-introspection: use full path for python2, since shebangs are created from it * cairo: flags to support gcc 4.9
Diffstat (limited to 'recipes/cairo.recipe')
-rw-r--r--recipes/cairo.recipe6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes/cairo.recipe b/recipes/cairo.recipe
index d00341f0..0939e9c3 100644
--- a/recipes/cairo.recipe
+++ b/recipes/cairo.recipe
@@ -38,6 +38,12 @@ class Recipe(recipe.Recipe):
make_check = None
def prepare(self):
+ # extra flags needed for gcc 4.9
+ if self.config.target_distro == Distro.ARCH:
+ 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']