From 74d518dc2a18569c7e3f5766b6d9dda8e941ea7e Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 27 Jun 2007 12:01:27 +0000 Subject: - add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGS - use TARGET_CONFIGURE_ARGS where appropriate. --- package/libglib2/libglib2.mk | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'package/libglib2') 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 \ -- cgit v1.2.3