summaryrefslogtreecommitdiff
path: root/package/libglib12/libglib12.mk
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/libglib12/libglib12.mk
parentde18b661cf7849f0d16f11205fc15c5f2e03b2f8 (diff)
- add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGS
- use TARGET_CONFIGURE_ARGS where appropriate.
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) \