toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / trousers / trousers.mk
blob4fc949909e14f50e8cb980c70798d036e48ef79f
1 #############################################################
3 # trousers
5 ##############################################################
7 TROUSERS_VERSION = 0.3.13
8 TROUSERS_SOURCE = trousers-$(TROUSERS_VERSION).tar.gz
9 TROUSERS_SITE = http://downloads.sourceforge.net/project/trousers/trousers/$(TROUSERS_VERSION)
10 TROUSERS_LICENSE = BSD-3c
11 TROUSERS_LICENSE_FILES = LICENSE
12 TROUSERS_INSTALL_STAGING = YES
13 # Need autoreconf because of a patch touching configure.in and Makefile.am
14 TROUSERS_AUTORECONF = YES
15 TROUSERS_DEPENDENCIES = host-pkgconf openssl
17 ifeq ($(BR2_PACKAGE_LIBICONV),y)
18 TROUSERS_DEPENDENCIES += libiconv
19 endif
21 ifeq ($(BR2_arc770d)$(BR2_arc750d),y)
22 TROUSERS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -mno-compact-casesi"
23 endif
25 # The TrouSerS build system attempts to create the tss user and group
26 # on the host system. Disable the user checking feature as a
27 # workaround.
28 TROUSERS_CONF_OPTS += --disable-usercheck
30 ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),)
31 TROUSERS_CONF_ENV += \
32 ax_cv_check_cflags___fPIE__DPIE=no \
33 ax_cv_check_ldflags___pie=no
34 endif
36 $(eval $(autotools-package))