summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/cairo/cairo.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk
index b79899565b..d7e370ae70 100644
--- a/package/cairo/cairo.mk
+++ b/package/cairo/cairo.mk
@@ -12,6 +12,11 @@ CAIRO_SITE = http://cairographics.org/releases
CAIRO_INSTALL_STAGING = YES
CAIRO_AUTORECONF = YES
+# relocation truncated to fit: R_68K_GOT16O
+ifeq ($(BR2_m68k_cf),y)
+CAIRO_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -mxgot"
+endif
+
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
CAIRO_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -DCAIRO_NO_MUTEX=1"
endif
OpenPOWER on IntegriCloud