diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-08-04 19:07:18 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-08-04 19:07:18 +0000 |
commit | 60b5eee76edfa153ef118d2788c74ac8da1497a0 (patch) | |
tree | 4edb8e2572e8803fc92d419920c32142f6b4fa3a /package/zlib | |
parent | 02a623ddf96aa97c341a287bbb4ec5370a069444 (diff) | |
download | buildroot-novena-60b5eee76edfa153ef118d2788c74ac8da1497a0.tar.gz buildroot-novena-60b5eee76edfa153ef118d2788c74ac8da1497a0.zip |
package: global largefile CFLAGS handling
Diffstat (limited to 'package/zlib')
-rw-r--r-- | package/zlib/zlib.mk | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk index a9ff342b2..904c20b6a 100644 --- a/package/zlib/zlib.mk +++ b/package/zlib/zlib.mk @@ -8,10 +8,6 @@ ZLIB_SOURCE:=zlib-$(ZLIB_VERSION).tar.bz2 ZLIB_CAT:=$(BZCAT) ZLIB_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/libpng ZLIB_DIR:=$(BUILD_DIR)/zlib-$(ZLIB_VERSION) -ZLIB_CFLAGS:=-fPIC -ifeq ($(BR2_LARGEFILE),y) -ZLIB_CFLAGS+=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -endif $(DL_DIR)/$(ZLIB_SOURCE): $(WGET) -P $(DL_DIR) $(ZLIB_SITE)/$(ZLIB_SOURCE) @@ -26,7 +22,7 @@ $(ZLIB_DIR)/.configured: $(ZLIB_DIR)/.patched (cd $(ZLIB_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_ARGS) \ $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(ZLIB_CFLAGS)" \ + CFLAGS="$(TARGET_CFLAGS) -fPIC" \ ./configure \ --shared \ --prefix=/usr \ |