aboutsummaryrefslogtreecommitdiff
path: root/package/gmp
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-27 12:01:27 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-27 12:01:27 +0000
commit74d518dc2a18569c7e3f5766b6d9dda8e941ea7e (patch)
treef2e9a088b688392afb9d77eaeb93b1bf1585a575 /package/gmp
parentde18b661cf7849f0d16f11205fc15c5f2e03b2f8 (diff)
downloadbuildroot-74d518dc2a18569c7e3f5766b6d9dda8e941ea7e.tar.gz
buildroot-74d518dc2a18569c7e3f5766b6d9dda8e941ea7e.tar.bz2
- add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGS
- use TARGET_CONFIGURE_ARGS where appropriate.
Diffstat (limited to 'package/gmp')
-rw-r--r--package/gmp/gmp.mk8
1 files changed, 1 insertions, 7 deletions
diff --git a/package/gmp/gmp.mk b/package/gmp/gmp.mk
index d928abc266..c1f1555224 100644
--- a/package/gmp/gmp.mk
+++ b/package/gmp/gmp.mk
@@ -13,12 +13,6 @@ GMP_BINARY:=libgmp$(LIBTGTEXT)
GMP_HOST_BINARY:=libgmp$(HOST_SHREXT)
GMP_LIBVERSION:=3.4.1
-ifeq ($(BR2_ENDIAN),"BIG")
-GMP_BE:=yes
-else
-GMP_BE:=no
-endif
-
# this is a workaround for a bug in GMP, please see
# http://gmplib.org/list-archives/gmp-devel/2006-April/000618.html
ifeq ($(HOST_EXEEXT),.exe)
@@ -40,8 +34,8 @@ $(GMP_TARGET_DIR)/.configured: $(GMP_DIR)/.unpacked
mkdir -p $(GMP_TARGET_DIR)
(cd $(GMP_TARGET_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
+ $(TARGET_CONFIGURE_ARGS) \
$(GMP_CPP_FLAGS) \
- ac_cv_c_bigendian=$(GMP_BE) \
$(GMP_DIR)/configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \