summaryrefslogtreecommitdiff
path: root/package/libglib2/libglib2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/libglib2/libglib2.mk')
-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 \