summaryrefslogtreecommitdiffstats
path: root/package/libglib12/libglib12.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/libglib12/libglib12.mk')
-rw-r--r--package/libglib12/libglib12.mk10
1 files changed, 1 insertions, 9 deletions
diff --git a/package/libglib12/libglib12.mk b/package/libglib12/libglib12.mk
index 47de02082..9b738d070 100644
--- a/package/libglib12/libglib12.mk
+++ b/package/libglib12/libglib12.mk
@@ -9,12 +9,6 @@ LIBGLIB12_CAT:=$(ZCAT)
LIBGLIB12_DIR:=$(BUILD_DIR)/glib-1.2.10
LIBGLIB12_BINARY:=libglib.a
-ifeq ($(BR2_ENDIAN),"BIG")
-LIBGLIB12_BE:=yes
-else
-LIBGLIB12_BE:=no
-endif
-
$(DL_DIR)/$(LIBGLIB12_SOURCE):
$(WGET) -P $(DL_DIR) $(LIBGLIB12_SITE)/$(LIBGLIB12_SOURCE)
@@ -29,9 +23,7 @@ $(LIBGLIB12_DIR)/.unpacked: $(DL_DIR)/$(LIBGLIB12_SOURCE)
$(LIBGLIB12_DIR)/.configured: $(LIBGLIB12_DIR)/.unpacked
(cd $(LIBGLIB12_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)" \
- LDFLAGS="$(TARGET_LDFLAGS)" \
- ac_cv_c_bigendian=$(LIBGLIB12_BE) \
+ $(TARGET_CONFIGURE_ARGS) \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \