summaryrefslogtreecommitdiff
path: root/package/libglib2
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-27 12:01:27 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-27 12:01:27 +0000
commit74d518dc2a18569c7e3f5766b6d9dda8e941ea7e (patch)
treef2e9a088b688392afb9d77eaeb93b1bf1585a575 /package/libglib2
parentde18b661cf7849f0d16f11205fc15c5f2e03b2f8 (diff)
- add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGS
- use TARGET_CONFIGURE_ARGS where appropriate.
Diffstat (limited to 'package/libglib2')
-rw-r--r--package/libglib2/libglib2.mk10
1 files changed, 1 insertions, 9 deletions
diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk
index 741aded5f..01e647d25 100644
--- a/package/libglib2/libglib2.mk
+++ b/package/libglib2/libglib2.mk
@@ -10,12 +10,6 @@ LIBGLIB2_CAT:=$(BZCAT)
LIBGLIB2_DIR:=$(BUILD_DIR)/glib-$(LIBGLIB2_VERSION)
LIBGLIB2_BINARY:=libglib-2.0.a
-ifeq ($(BR2_ENDIAN),"BIG")
-LIBGLIB2_BE:=yes
-else
-LIBGLIB2_BE:=no
-endif
-
$(DL_DIR)/$(LIBGLIB2_SOURCE):
$(WGET) -P $(DL_DIR) $(LIBGLIB2_SITE)/$(LIBGLIB2_SOURCE)
@@ -31,9 +25,7 @@ $(LIBGLIB2_DIR)/.unpacked: $(DL_DIR)/$(LIBGLIB2_SOURCE)
$(LIBGLIB2_DIR)/.configured: $(LIBGLIB2_DIR)/.unpacked
(cd $(LIBGLIB2_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)" \
- LDFLAGS="$(TARGET_LDFLAGS)" \
- ac_cv_c_bigendian=$(LIBGLIB2_BE) \
+ $(TARGET_CONFIGURE_ARGS) \
ac_cv_func_posix_getpwuid_r=yes \
glib_cv_stack_grows=no \
glib_cv_uscore=no \