0e2e7c71d0
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com) Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
28 lines
830 B
Makefile
28 lines
830 B
Makefile
################################################################################
|
|
#
|
|
# gsl
|
|
#
|
|
################################################################################
|
|
|
|
GSL_VERSION = 1.16
|
|
GSL_SITE = $(BR2_GNU_MIRROR)/gsl
|
|
GSL_INSTALL_STAGING = YES
|
|
GSL_LICENSE = GPLv3
|
|
GSL_LICENSE_FILES = COPYING
|
|
GSL_CONFIG_SCRIPTS = gsl-config
|
|
|
|
# uClibc pretends to have fenv support as it installs <fenv.h>, but in
|
|
# practice, it only implements it for i386. Problem reported upstream
|
|
# at: http://lists.busybox.net/pipermail/uclibc/2012-October/047067.html.
|
|
# So we tell gsl that fenv related functions are not available in this
|
|
# case.
|
|
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
|
ifneq ($(BR2_i386),y)
|
|
GSL_CONF_ENV = \
|
|
ac_cv_have_decl_feenableexcept=no \
|
|
ac_cv_have_decl_fesettrapenable=no
|
|
endif
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|