6b4833e6f6
Fixes http://autobuild.buildroot.net/results/ec3/ec31257a66583ca69bbad5ecfedb4c25b85268ee/ http://autobuild.buildroot.net/results/b24/b241ef7b7283efd92028d98355f268d93a12ffdd/ http://autobuild.buildroot.net/results/36c/36cc9386747854b632ec4e22bed8f32a0e2eec32/ http://autobuild.buildroot.net/results/b8a/b8a2de871eec249d03744fcd4ea6b5d3d1b01bd5/ And many others. The toolchain gets confused about TLS access through the GOT (PIC), so disable TLS support in pixman. The error from the assembler is: movhi r4, %got_hiadj(%tls_ldo(fast_path_cache)) {standard input}:172: Error: bad expression Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
34 lines
975 B
Makefile
34 lines
975 B
Makefile
################################################################################
|
|
#
|
|
# pixman
|
|
#
|
|
################################################################################
|
|
|
|
PIXMAN_VERSION = 0.32.6
|
|
PIXMAN_SITE = http://xorg.freedesktop.org/releases/individual/lib
|
|
PIXMAN_LICENSE = MIT
|
|
PIXMAN_LICENSE_FILES = COPYING
|
|
|
|
PIXMAN_INSTALL_STAGING = YES
|
|
PIXMAN_DEPENDENCIES = host-pkgconf
|
|
PIXMAN_AUTORECONF = YES
|
|
|
|
# don't build gtk based demos
|
|
PIXMAN_CONF_OPTS = --disable-gtk
|
|
|
|
# disable iwmmxt support for CPU's that don't have
|
|
# this feature
|
|
ifneq ($(BR2_iwmmxt),y)
|
|
PIXMAN_CONF_OPTS += --disable-arm-iwmmxt
|
|
endif
|
|
|
|
# toolchain gets confused about TLS access through GOT (PIC), so disable TLS
|
|
# movhi r4, %got_hiadj(%tls_ldo(fast_path_cache))
|
|
# {standard input}:172: Error: bad expression
|
|
ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405),y)
|
|
PIXMAN_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -DPIXMAN_NO_TLS"
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|