summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-30 22:46:58 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-30 22:46:58 +0000
commitc12c4f05f16f177f66f18f9ff40488ab8bd151d7 (patch)
treeacf0f7d2ae568b82b15b1426ff8342b20e545a1a /package
parent02a28380e9bc05df9e6c1a595b187d19f65e4921 (diff)
touchup build process
Diffstat (limited to 'package')
-rw-r--r--package/zlib/zlib.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk
index 949f375b6..32dc3ca2f 100644
--- a/package/zlib/zlib.mk
+++ b/package/zlib/zlib.mk
@@ -17,10 +17,12 @@ $(DL_DIR)/$(ZLIB_SOURCE):
$(ZLIB_DIR)/.source: $(DL_DIR)/$(ZLIB_SOURCE)
bzcat $(DL_DIR)/$(ZLIB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ toolchain/patch-kernel.sh $(ZLIB_DIR) package/zlib/ zlib\*.patch
touch $(ZLIB_DIR)/.source
$(ZLIB_DIR)/.configured: $(ZLIB_DIR)/.source
(cd $(ZLIB_DIR); \
+ $(TARGET_CONFIGURE_OPTS) \
./configure \
--shared \
--prefix=/usr \
@@ -31,8 +33,7 @@ $(ZLIB_DIR)/.configured: $(ZLIB_DIR)/.source
touch $(ZLIB_DIR)/.configured;
$(ZLIB_DIR)/libz.so.$(ZLIB_VER): $(ZLIB_DIR)/.configured
- $(MAKE) LDSHARED="$(TARGET_CROSS)gcc -shared -Wl,-soname,libz.so.1 -shared-libgcc" \
- CFLAGS="$(ZLIB_CFLAGS)" CC=$(TARGET_CC) -C $(ZLIB_DIR) all libz.a;
+ $(MAKE) -C $(ZLIB_DIR) all libz.a
touch -c $(ZLIB_DIR)/libz.so.$(ZLIB_VER)
$(STAGING_DIR)/lib/libz.so.$(ZLIB_VER): $(ZLIB_DIR)/libz.so.$(ZLIB_VER)