From 85d7f6f05f87b52a56b603c95e68498f04877f64 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 13 Mar 2007 22:59:59 +0000 Subject: [PATCH] fixup package LDFLAGS handling --- package/argus/argus.mk | 1 + package/at/at.mk | 1 + package/atk/atk.mk | 2 ++ package/autoconf/autoconf.mk | 1 + package/automake/automake.mk | 1 + package/avahi/avahi.mk | 1 + package/bash/bash.mk | 1 + package/berkeleydb/berkeleydb.mk | 2 ++ package/bind/bind.mk | 1 + package/bison/bison.mk | 1 + package/boa/boa.mk | 1 + package/bridge/bridge.mk | 1 + package/cairo/cairo.mk | 2 ++ package/coreutils/coreutils.mk | 1 + package/cvs/cvs.mk | 1 + package/dash/dash.mk | 1 + package/dialog/dialog.mk | 1 + package/diffutils/diffutils.mk | 1 + package/dillo/dillo.mk | 2 ++ package/directfb/directfb.mk | 2 +- package/distcc/distcc.mk | 1 + package/dm/dm.mk | 1 + package/dmalloc/dmalloc.mk | 2 +- package/dmraid/dmraid.mk | 1 + package/dropbear/dropbear.mk | 1 + package/e2fsprogs/e2fsprogs.mk | 1 + package/ed/ed.mk | 1 + package/ethtool/ethtool.mk | 2 ++ package/expat/expat.mk | 2 ++ package/fakeroot/fakeroot.mk | 2 ++ package/file/file.mk | 1 + package/findutils/findutils.mk | 1 + package/flex/flex.mk | 1 + package/fontconfig/fontconfig.mk | 1 + package/freetype/freetype.mk | 1 + package/gawk/gawk.mk | 1 + package/gettext/gettext.mk | 1 + package/gmp/gmp.mk | 1 + package/grep/grep.mk | 1 + package/gtk2-engines/gtk2-engines.mk | 2 ++ package/gzip/gzip.mk | 1 + package/haserl/haserl.mk | 2 ++ package/iperf/iperf.mk | 1 + package/ipsec-tools/ipsec-tools.mk | 1 + package/jpeg/jpeg.mk | 2 ++ package/kexec/kexec.mk | 1 + package/less/less.mk | 1 + package/libcgi/libcgi.mk | 1 + package/libcgicc/libcgicc.mk | 1 + package/libdaemon/libdaemon.mk | 1 + package/libelf/libelf.mk | 2 ++ package/libevent/libevent.mk | 1 + package/libglib12/libglib12.mk | 2 ++ package/libglib2/libglib2.mk | 2 ++ package/libgtk12/libgtk12.mk | 2 ++ package/libgtk2/libgtk2.mk | 2 ++ package/libmad/libmad.mk | 2 ++ package/libpcap/libpcap.mk | 1 + package/libpng/libpng.mk | 1 + package/libraw1394/libraw1394.mk | 1 + package/libsysfs/libsysfs.mk | 1 + package/libtool/libtool.mk | 1 + package/libusb/libusb.mk | 1 + package/lighttpd/lighttpd.mk | 1 + package/links/links.mk | 1 + package/lrzsz/lrzsz.mk | 2 ++ package/ltrace/ltrace.mk | 2 ++ package/ltt/ltt.mk | 1 + package/lvm2/lvm2.mk | 1 + package/lzma/lzma.mk | 1 + package/lzo/lzo.mk | 1 + package/m4/m4.mk | 1 + package/make/make.mk | 1 + package/metacity/metacity.mk | 1 + package/module-init-tools/module-init-tools.mk | 2 ++ package/modutils/modutils.mk | 2 ++ package/mpfr/mpfr.mk | 1 + package/nano/nano.mk | 1 + package/nbd/nbd.mk | 2 ++ package/ncurses/ncurses.mk | 1 + package/netcat/netcat.mk | 1 + package/netsnmp/netsnmp.mk | 2 ++ package/newt/newt.mk | 4 +++- package/ntp/ntp.mk | 1 + package/openntpd/openntpd.mk | 1 + package/openssh/openssh.mk | 1 + package/openvpn/openvpn.mk | 1 + package/pango/pango.mk | 2 ++ package/pkgconfig/pkgconfig.mk | 2 ++ package/pppd/pppd.mk | 2 ++ package/psmisc/psmisc.mk | 1 + package/qte/qte.mk | 3 +++ package/qtopia4/qtopia4.mk | 1 + package/raidtools/raidtools.mk | 2 ++ package/rdesktop/rdesktop.mk | 2 ++ package/readline/readline.mk | 1 + package/rsync/rsync.mk | 1 + package/ruby/ruby.mk | 1 + package/rxvt/rxvt.mk | 2 ++ package/samba/samba.mk | 1 + package/sdl/sdl.mk | 1 + package/sed/sed.mk | 1 + package/setserial/setserial.mk | 1 + package/smartmontools/smartmontools.mk | 1 + package/socat/socat.mk | 2 ++ package/strace/strace.mk | 1 + package/stunnel/stunnel.mk | 2 +- package/sudo/sudo.mk | 1 + package/tar/tar.mk | 1 + package/tcl/tcl.mk | 1 + package/tcpdump/dhcpdump.mk | 1 + package/tcpdump/tcpdump.mk | 1 + package/tftpd/tftpd.mk | 1 + package/thttpd/thttpd.mk | 1 + package/tiff/tiff.mk | 2 ++ package/tn5250/tn5250.mk | 2 ++ package/usbutils/usbutils.mk | 2 +- package/util-linux/util-linux.mk | 1 + package/valgrind/valgrind.mk | 2 ++ package/vtun/vtun.mk | 2 ++ package/wget/wget.mk | 1 + package/which/which.mk | 1 + package/xfsprogs/xfsprogs.mk | 2 +- package/zlib/zlib.mk | 1 + 124 files changed, 161 insertions(+), 6 deletions(-) diff --git a/package/argus/argus.mk b/package/argus/argus.mk index 8ba5047b0d..04a26352fb 100644 --- a/package/argus/argus.mk +++ b/package/argus/argus.mk @@ -52,6 +52,7 @@ $(ARGUS_DIR)/.configured: $(ARGUS_DIR)/.unpacked (cd $(ARGUS_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ $(ARGUS_TRAP_CHECK) \ ./configure \ --target=$(GNU_TARGET_NAME) \ diff --git a/package/at/at.mk b/package/at/at.mk index c35f6d0afd..bfacd7d85b 100644 --- a/package/at/at.mk +++ b/package/at/at.mk @@ -25,6 +25,7 @@ $(AT_DIR)/.configured: $(AT_DIR)/.unpacked (cd $(AT_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/atk/atk.mk b/package/atk/atk.mk index 06eba8dabd..3b941518bc 100644 --- a/package/atk/atk.mk +++ b/package/atk/atk.mk @@ -30,6 +30,8 @@ $(ATK_DIR)/.unpacked: $(DL_DIR)/$(ATK_SOURCE) $(ATK_DIR)/.configured: $(ATK_DIR)/.unpacked (cd $(ATK_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ac_cv_c_bigendian=$(ATK_BE) \ ac_cv_func_posix_getpwuid_r=yes \ glib_cv_stack_grows=no \ diff --git a/package/autoconf/autoconf.mk b/package/autoconf/autoconf.mk index 76250d690a..66ae6f1666 100644 --- a/package/autoconf/autoconf.mk +++ b/package/autoconf/autoconf.mk @@ -24,6 +24,7 @@ $(AUTOCONF_DIR)/.configured: $(AUTOCONF_DIR)/.unpacked (cd $(AUTOCONF_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) EMACS="no" \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/automake/automake.mk b/package/automake/automake.mk index 0f7ab01e0c..b51918bd64 100644 --- a/package/automake/automake.mk +++ b/package/automake/automake.mk @@ -25,6 +25,7 @@ $(AUTOMAKE_DIR)/.configured: $(AUTOMAKE_DIR)/.unpacked (cd $(AUTOMAKE_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ WANT_AUTOCONF=2.5 \ ./configure \ --target=$(GNU_TARGET_NAME) \ diff --git a/package/avahi/avahi.mk b/package/avahi/avahi.mk index 379d2e79dc..d80d367285 100644 --- a/package/avahi/avahi.mk +++ b/package/avahi/avahi.mk @@ -32,6 +32,7 @@ $(AVAHI_DIR)/.configured: $(AVAHI_DIR)/.unpacked cd $(AVAHI_DIR) && \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ LIBDAEMON_CFLAGS="-I$(STAGING_DIR)/include" \ LIBDAEMON_LIBS="-L$(STAGING_DIR)/lib -ldaemon" \ ac_cv_func_strtod=yes \ diff --git a/package/bash/bash.mk b/package/bash/bash.mk index 75289317fd..a66e46393f 100644 --- a/package/bash/bash.mk +++ b/package/bash/bash.mk @@ -31,6 +31,7 @@ $(BASH_DIR)/.configured: $(BASH_DIR)/.unpacked (cd $(BASH_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ac_cv_func_setvbuf_reversed=no \ ./configure \ --target=$(GNU_TARGET_NAME) \ diff --git a/package/berkeleydb/berkeleydb.mk b/package/berkeleydb/berkeleydb.mk index 3690442194..0917cb9202 100644 --- a/package/berkeleydb/berkeleydb.mk +++ b/package/berkeleydb/berkeleydb.mk @@ -22,6 +22,8 @@ $(DB_DIR)/.dist: $(DL_DIR)/$(DB_SOURCE) $(DB_DIR)/.configured: $(DB_DIR)/.dist (cd $(DB_DIR)/build_unix; rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ../dist/configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/bind/bind.mk b/package/bind/bind.mk index a5cf09d7a2..e1dc00a032 100644 --- a/package/bind/bind.mk +++ b/package/bind/bind.mk @@ -31,6 +31,7 @@ $(BIND_DIR2)/Makefile: $(BIND_DIR2)/.unpacked (cd $(BIND_DIR2); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/bison/bison.mk b/package/bison/bison.mk index 4a6a350665..38777febaf 100644 --- a/package/bison/bison.mk +++ b/package/bison/bison.mk @@ -25,6 +25,7 @@ $(BISON_DIR)/.configured: $(BISON_DIR)/.unpacked (cd $(BISON_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ gt_cv_func_gnugettext2_libintl=yes \ ./configure \ --target=$(GNU_TARGET_NAME) \ diff --git a/package/boa/boa.mk b/package/boa/boa.mk index 275cd8e8cd..08d73fe15e 100644 --- a/package/boa/boa.mk +++ b/package/boa/boa.mk @@ -29,6 +29,7 @@ $(BOA_WORKDIR)/Makefile: $(BOA_DIR)/.unpacked (cd $(BOA_WORKDIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ CPPFLAGS="$(SED_CFLAGS)" \ $(BOA_DIR)/configure \ --target=$(GNU_TARGET_NAME) \ diff --git a/package/bridge/bridge.mk b/package/bridge/bridge.mk index a753ff491e..38fce875dc 100644 --- a/package/bridge/bridge.mk +++ b/package/bridge/bridge.mk @@ -22,6 +22,7 @@ $(BRIDGE_BUILD_DIR)/.configured: $(BRIDGE_BUILD_DIR)/.unpacked (cd $(BRIDGE_BUILD_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk index 47b06ec55f..ec5f6cac9b 100644 --- a/package/cairo/cairo.mk +++ b/package/cairo/cairo.mk @@ -30,6 +30,8 @@ $(CAIRO_DIR)/.unpacked: $(DL_DIR)/$(CAIRO_SOURCE) $(CAIRO_DIR)/.configured: $(CAIRO_DIR)/.unpacked (cd $(CAIRO_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ac_cv_c_bigendian=$(CAIRO_BE) \ ac_cv_func_posix_getpwuid_r=yes \ glib_cv_stack_grows=no \ diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk index 1ece80e246..80bab9c58f 100644 --- a/package/coreutils/coreutils.mk +++ b/package/coreutils/coreutils.mk @@ -28,6 +28,7 @@ $(COREUTILS_DIR)/.configured: $(COREUTILS_DIR)/.unpacked (cd $(COREUTILS_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ac_cv_func_strtod=yes \ ac_fsusage_space=yes \ fu_cv_sys_stat_statfs2_bsize=yes \ diff --git a/package/cvs/cvs.mk b/package/cvs/cvs.mk index 59ba209665..2892838b53 100644 --- a/package/cvs/cvs.mk +++ b/package/cvs/cvs.mk @@ -53,6 +53,7 @@ $(CVS_DIR)/.configured: $(CVS_DIR)/.unpacked (cd $(CVS_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ cvs_cv_func_printf_ptr=yes \ ./configure \ --target=$(GNU_TARGET_NAME) \ diff --git a/package/dash/dash.mk b/package/dash/dash.mk index 51bd1648fc..e475375661 100644 --- a/package/dash/dash.mk +++ b/package/dash/dash.mk @@ -29,6 +29,7 @@ $(DASH_DIR)/.configured: $(DASH_DIR)/.unpacked (cd $(DASH_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/dialog/dialog.mk b/package/dialog/dialog.mk index 42558c019d..219b5dbdb4 100644 --- a/package/dialog/dialog.mk +++ b/package/dialog/dialog.mk @@ -29,6 +29,7 @@ $(DIALOG_DIR)/.configured: $(DIALOG_DIR)/.source (cd $(DIALOG_DIR); \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/diffutils/diffutils.mk b/package/diffutils/diffutils.mk index 00f0260e68..d9e7203138 100644 --- a/package/diffutils/diffutils.mk +++ b/package/diffutils/diffutils.mk @@ -25,6 +25,7 @@ $(DIFFUTILS_DIR)/.configured: $(DIFFUTILS_DIR)/.unpacked (cd $(DIFFUTILS_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ac_cv_func_strtod=yes \ ac_fsusage_space=yes \ fu_cv_sys_stat_statfs2_bsize=yes \ diff --git a/package/dillo/dillo.mk b/package/dillo/dillo.mk index 3b70bb1a92..9c28356902 100644 --- a/package/dillo/dillo.mk +++ b/package/dillo/dillo.mk @@ -20,6 +20,8 @@ $(DILLO_DIR)/.unpacked: $(DL_DIR)/$(DILLO_SOURCE) $(DILLO_DIR)/.configured: $(DILLO_DIR)/.unpacked (cd $(DILLO_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk index 60b4570eab..4fc010fb67 100644 --- a/package/directfb/directfb.mk +++ b/package/directfb/directfb.mk @@ -23,7 +23,7 @@ $(DIRECTFB_DIR)/.configured: $(DIRECTFB_DIR)/.unpacked (cd $(DIRECTFB_DIR); \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \ - LDFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ac_cv_header_linux_wm97xx_h=no \ ac_cv_header_linux_sisfb_h=no \ ./configure \ diff --git a/package/distcc/distcc.mk b/package/distcc/distcc.mk index 6dc6e5353c..1da0026553 100644 --- a/package/distcc/distcc.mk +++ b/package/distcc/distcc.mk @@ -24,6 +24,7 @@ $(DISTCC_DIR)/.configured: $(DISTCC_DIR)/.unpacked (cd $(DISTCC_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/dm/dm.mk b/package/dm/dm.mk index cf88ccd74f..02f93116d5 100644 --- a/package/dm/dm.mk +++ b/package/dm/dm.mk @@ -51,6 +51,7 @@ $(DM_DIR)/.configured: $(DM_DIR)/.unpacked (cd $(DM_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ac_cv_have_decl_malloc=yes \ gl_cv_func_malloc_0_nonnull=yes \ ac_cv_func_malloc_0_nonnull=yes \ diff --git a/package/dmalloc/dmalloc.mk b/package/dmalloc/dmalloc.mk index d9e6fe98fb..ba0c063ff6 100644 --- a/package/dmalloc/dmalloc.mk +++ b/package/dmalloc/dmalloc.mk @@ -43,7 +43,7 @@ $(DMALLOC_DIR)/.configured: $(DMALLOC_DIR)/.unpacked (cd $(DMALLOC_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="-g $(TARGET_CFLAGS)" \ - LDFLAGS="-g" \ + LDFLAGS="-g $(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/dmraid/dmraid.mk b/package/dmraid/dmraid.mk index 4283771ecf..2c4731a9ef 100644 --- a/package/dmraid/dmraid.mk +++ b/package/dmraid/dmraid.mk @@ -27,6 +27,7 @@ $(DMRAID_DIR)/.configured: $(DMRAID_DIR)/.unpacked (cd $(DMRAID_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/dropbear/dropbear.mk b/package/dropbear/dropbear.mk index 92c3813442..ac3e68cfc2 100644 --- a/package/dropbear/dropbear.mk +++ b/package/dropbear/dropbear.mk @@ -28,6 +28,7 @@ $(DROPBEAR_DIR)/.configured: $(DROPBEAR_DIR)/.unpacked autoconf; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk index 39d8bea35e..7867403b66 100644 --- a/package/e2fsprogs/e2fsprogs.mk +++ b/package/e2fsprogs/e2fsprogs.mk @@ -30,6 +30,7 @@ $(E2FSPROGS_DIR)/.configured: $(E2FSPROGS_DIR)/.unpacked (cd $(E2FSPROGS_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/ed/ed.mk b/package/ed/ed.mk index 4349e2cd6b..a81510208c 100644 --- a/package/ed/ed.mk +++ b/package/ed/ed.mk @@ -32,6 +32,7 @@ $(ED_DIR)/.configured: $(ED_DIR)/.unpacked (cd $(ED_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/ethtool/ethtool.mk b/package/ethtool/ethtool.mk index 3ddda41772..38a2aeae36 100644 --- a/package/ethtool/ethtool.mk +++ b/package/ethtool/ethtool.mk @@ -21,6 +21,8 @@ $(ETHTOOL_DIR)/.unpacked: $(DL_DIR)/$(ETHTOOL_SOURCE) $(ETHTOOL_DIR)/.configured: $(ETHTOOL_DIR)/.unpacked (cd $(ETHTOOL_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/expat/expat.mk b/package/expat/expat.mk index a0fd3e317e..18064a68ef 100644 --- a/package/expat/expat.mk +++ b/package/expat/expat.mk @@ -22,6 +22,8 @@ $(EXPAT_DIR)/.unpacked: $(DL_DIR)/$(EXPAT_SOURCE) $(EXPAT_DIR)/.configured: $(EXPAT_DIR)/.unpacked (cd $(EXPAT_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/fakeroot/fakeroot.mk b/package/fakeroot/fakeroot.mk index a792a4379f..62da619706 100644 --- a/package/fakeroot/fakeroot.mk +++ b/package/fakeroot/fakeroot.mk @@ -72,6 +72,8 @@ $(FAKEROOT_DIR2)/.configured: $(FAKEROOT_SOURCE_DIR)/.unpacked mkdir -p $(FAKEROOT_DIR2) (cd $(FAKEROOT_DIR2); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ $(FAKEROOT_SOURCE_DIR)/configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/file/file.mk b/package/file/file.mk index c50be303c1..4f589d90d0 100644 --- a/package/file/file.mk +++ b/package/file/file.mk @@ -62,6 +62,7 @@ $(FILE_DIR2)/.configured: $(FILE_SOURCE_DIR)/.unpacked (cd $(FILE_DIR2); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ $(FILE_SOURCE_DIR)/configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/findutils/findutils.mk b/package/findutils/findutils.mk index f1d60fef41..14d3234a33 100644 --- a/package/findutils/findutils.mk +++ b/package/findutils/findutils.mk @@ -26,6 +26,7 @@ $(FINDUTILS_DIR)/.configured: $(FINDUTILS_DIR)/.unpacked (cd $(FINDUTILS_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ac_cv_func_setvbuf_reversed=no \ ./configure \ --target=$(GNU_TARGET_NAME) \ diff --git a/package/flex/flex.mk b/package/flex/flex.mk index b58d404205..5c3fc73321 100644 --- a/package/flex/flex.mk +++ b/package/flex/flex.mk @@ -36,6 +36,7 @@ $(FLEX_DIR)/.configured: $(FLEX_DIR)/.unpacked (cd $(FLEX_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/fontconfig/fontconfig.mk b/package/fontconfig/fontconfig.mk index 79ade2b856..e7d6f53612 100644 --- a/package/fontconfig/fontconfig.mk +++ b/package/fontconfig/fontconfig.mk @@ -24,6 +24,7 @@ $(FONTCONFIG_DIR)/.configured: $(FONTCONFIG_DIR)/.unpacked (cd $(FONTCONFIG_DIR); \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) " \ + LDFLAGS="$(TARGET_LDFLAGS)" \ BUILD_CFLAGS="-O2 -I$(FREETYPE_HOST_DIR)/include/freetype2 -I$(FREETYPE_HOST_DIR)/include" \ ac_cv_func_mmap_fixed_mapped=yes \ ./configure \ diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk index aa54145e33..bd47773571 100644 --- a/package/freetype/freetype.mk +++ b/package/freetype/freetype.mk @@ -25,6 +25,7 @@ $(FREETYPE_DIR)/.configured: $(FREETYPE_DIR)/.unpacked (cd $(FREETYPE_DIR); \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) " \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/gawk/gawk.mk b/package/gawk/gawk.mk index 25a4ee6c0d..1969af14d2 100644 --- a/package/gawk/gawk.mk +++ b/package/gawk/gawk.mk @@ -26,6 +26,7 @@ $(GAWK_DIR)/.configured: $(GAWK_DIR)/.unpacked (cd $(GAWK_DIR); rm -rf config.cache; autoconf; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ac_cv_func_getpgrp_void=yes \ ./configure \ --target=$(GNU_TARGET_NAME) \ diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk index d3f331c5cb..d0b177e56f 100644 --- a/package/gettext/gettext.mk +++ b/package/gettext/gettext.mk @@ -29,6 +29,7 @@ $(GETTEXT_DIR)/.configured: $(GETTEXT_DIR)/.unpacked (cd $(GETTEXT_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ac_cv_func_strtod=yes \ ac_fsusage_space=yes \ fu_cv_sys_stat_statfs2_bsize=yes \ diff --git a/package/gmp/gmp.mk b/package/gmp/gmp.mk index 3894b3015c..93a5d653a5 100644 --- a/package/gmp/gmp.mk +++ b/package/gmp/gmp.mk @@ -34,6 +34,7 @@ $(GMP_TARGET_DIR)/.configured: $(GMP_DIR)/.unpacked (cd $(GMP_TARGET_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ac_cv_c_bigendian=$(GMP_BE) \ $(GMP_DIR)/configure \ --target=$(GNU_TARGET_NAME) \ diff --git a/package/grep/grep.mk b/package/grep/grep.mk index 87b8a93ecb..18df66b742 100644 --- a/package/grep/grep.mk +++ b/package/grep/grep.mk @@ -27,6 +27,7 @@ $(GNUGREP_DIR)/.configured: $(GNUGREP_DIR)/.unpacked (cd $(GNUGREP_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/gtk2-engines/gtk2-engines.mk b/package/gtk2-engines/gtk2-engines.mk index 10d75f51bc..c8ffa5dc62 100644 --- a/package/gtk2-engines/gtk2-engines.mk +++ b/package/gtk2-engines/gtk2-engines.mk @@ -11,6 +11,8 @@ GTK2_ENGINES_DIR:=$(BUILD_DIR)/gtk-engines-$(GTK2_ENGINES_VERSION) GTK2_ENGINES_BINARY:=libclearlooks.so GTK2_ENGINES_BUILD_ENV=$(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ac_cv_func_mmap_fixed_mapped=yes \ ac_cv_func_posix_getpwuid_r=yes \ glib_cv_stack_grows=no \ diff --git a/package/gzip/gzip.mk b/package/gzip/gzip.mk index e08eb9e024..9483bc775d 100644 --- a/package/gzip/gzip.mk +++ b/package/gzip/gzip.mk @@ -25,6 +25,7 @@ $(GZIP_DIR)/.configured: $(GZIP_DIR)/.unpacked (cd $(GZIP_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/haserl/haserl.mk b/package/haserl/haserl.mk index e873f16e4b..fd1880e141 100644 --- a/package/haserl/haserl.mk +++ b/package/haserl/haserl.mk @@ -21,6 +21,8 @@ $(HASERL_DIR)/.unpacked: $(DL_DIR)/$(HASERL_SOURCE) $(HASERL_DIR)/.configured: $(HASERL_DIR)/.unpacked (cd $(HASERL_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/iperf/iperf.mk b/package/iperf/iperf.mk index e1a84b1b6d..020ec76d45 100644 --- a/package/iperf/iperf.mk +++ b/package/iperf/iperf.mk @@ -22,6 +22,7 @@ $(IPERF_DIR)/.configured: $(IPERF_DIR)/.unpacked ( cd $(IPERF_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ac_cv_func_malloc_0_nonnull=yes \ ./configure \ --with-gnu-ld \ diff --git a/package/ipsec-tools/ipsec-tools.mk b/package/ipsec-tools/ipsec-tools.mk index 85968c767d..e90f2dabf3 100644 --- a/package/ipsec-tools/ipsec-tools.mk +++ b/package/ipsec-tools/ipsec-tools.mk @@ -73,6 +73,7 @@ $(IPSEC_TOOLS_DIR)/.configured: $(IPSEC_TOOLS_DIR)/.source ( cd $(IPSEC_TOOLS_DIR); \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/jpeg/jpeg.mk b/package/jpeg/jpeg.mk index 5ef3b4134c..c6b8fa0899 100644 --- a/package/jpeg/jpeg.mk +++ b/package/jpeg/jpeg.mk @@ -39,6 +39,8 @@ $(JPEG_DIR)/.unpacked: $(DL_DIR)/$(JPEG_SOURCE) $(JPEG_DIR)/.configured: $(JPEG_DIR)/.unpacked (cd $(JPEG_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/kexec/kexec.mk b/package/kexec/kexec.mk index 6d279a1dc5..9ab256cefd 100644 --- a/package/kexec/kexec.mk +++ b/package/kexec/kexec.mk @@ -44,6 +44,7 @@ $(KEXEC_DIR)/.configured: $(KEXEC_DIR)/.unpacked (cd $(KEXEC_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ diff --git a/package/less/less.mk b/package/less/less.mk index 1c29d54bd8..420aefbb5b 100644 --- a/package/less/less.mk +++ b/package/less/less.mk @@ -21,6 +21,7 @@ $(LESS_DIR)/.configured: $(LESS_DIR)/.source (cd $(LESS_DIR); \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/libcgi/libcgi.mk b/package/libcgi/libcgi.mk index b7ea5c1862..4d0666ed2b 100644 --- a/package/libcgi/libcgi.mk +++ b/package/libcgi/libcgi.mk @@ -22,6 +22,7 @@ $(LIBCGI_DIR)/.configured: $(LIBCGI_DIR)/.source (cd $(LIBCGI_DIR); \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/libcgicc/libcgicc.mk b/package/libcgicc/libcgicc.mk index 2de095973d..26e7da26c5 100644 --- a/package/libcgicc/libcgicc.mk +++ b/package/libcgicc/libcgicc.mk @@ -23,6 +23,7 @@ $(LIBCGICC_DIR)/.configured: $(LIBCGICC_DIR)/.unpacked (cd $(LIBCGICC_DIR); \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) " \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/libdaemon/libdaemon.mk b/package/libdaemon/libdaemon.mk index 4ff24aa772..ab02c950f6 100644 --- a/package/libdaemon/libdaemon.mk +++ b/package/libdaemon/libdaemon.mk @@ -33,6 +33,7 @@ $(LIBDAEMON_DIR)/.configured: $(LIBDAEMON_DIR)/.unpacked cd $(LIBDAEMON_DIR) && \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/libelf/libelf.mk b/package/libelf/libelf.mk index 7ae02ede08..ca3608dfe8 100644 --- a/package/libelf/libelf.mk +++ b/package/libelf/libelf.mk @@ -24,6 +24,8 @@ $(LIBELF_DIR)/.source: $(DL_DIR)/$(LIBELF_SOURCE) $(LIBELF_DIR)/.configured: $(LIBELF_DIR)/.source (cd $(LIBELF_DIR); \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/libevent/libevent.mk b/package/libevent/libevent.mk index 1f8c3f9ac7..0964c07992 100644 --- a/package/libevent/libevent.mk +++ b/package/libevent/libevent.mk @@ -26,6 +26,7 @@ $(LIBEVENT_DIR)/.configured: $(LIBEVENT_DIR)/.unpacked (cd $(LIBEVENT_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/libglib12/libglib12.mk b/package/libglib12/libglib12.mk index 720286fef1..47de020828 100644 --- a/package/libglib12/libglib12.mk +++ b/package/libglib12/libglib12.mk @@ -29,6 +29,8 @@ $(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) \ ./configure \ --target=$(GNU_TARGET_NAME) \ diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk index b700e3c0b3..741aded5fe 100644 --- a/package/libglib2/libglib2.mk +++ b/package/libglib2/libglib2.mk @@ -31,6 +31,8 @@ $(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) \ ac_cv_func_posix_getpwuid_r=yes \ glib_cv_stack_grows=no \ diff --git a/package/libgtk12/libgtk12.mk b/package/libgtk12/libgtk12.mk index 28e9f62369..76d1175ede 100644 --- a/package/libgtk12/libgtk12.mk +++ b/package/libgtk12/libgtk12.mk @@ -24,6 +24,8 @@ $(LIBGTK12_DIR)/.unpacked: $(DL_DIR)/$(LIBGTK12_SOURCE) $(LIBGTK12_DIR)/.configured: $(LIBGTK12_DIR)/.unpacked (cd $(LIBGTK12_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ GLIB_CONFIG=$(STAGING_DIR)/bin/glib-config \ ac_cv_func_mmap_fixed_mapped=yes \ ./configure \ diff --git a/package/libgtk2/libgtk2.mk b/package/libgtk2/libgtk2.mk index 9cc9f77b31..4785b516a5 100644 --- a/package/libgtk2/libgtk2.mk +++ b/package/libgtk2/libgtk2.mk @@ -11,6 +11,8 @@ LIBGTK2_DIR:=$(BUILD_DIR)/gtk+-$(LIBGTK2_VERSION) LIBGTK2_BINARY:=libgtk-x11-2.0.a LIBGTK2_BUILD_ENV=$(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ac_cv_func_mmap_fixed_mapped=yes \ ac_cv_func_posix_getpwuid_r=yes \ glib_cv_stack_grows=no \ diff --git a/package/libmad/libmad.mk b/package/libmad/libmad.mk index 4b46463f12..dc7791193f 100644 --- a/package/libmad/libmad.mk +++ b/package/libmad/libmad.mk @@ -21,6 +21,8 @@ $(LIBMAD_DIR)/.unpacked: $(DL_DIR)/$(LIBMAD_SOURCE) $(LIBMAD_DIR)/.configured: $(LIBMAD_DIR)/.unpacked (cd $(LIBMAD_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/libpcap/libpcap.mk b/package/libpcap/libpcap.mk index 4e657f302a..4db9d70d5b 100644 --- a/package/libpcap/libpcap.mk +++ b/package/libpcap/libpcap.mk @@ -44,6 +44,7 @@ $(LIBPCAP_DIR)/.configured: $(LIBPCAP_DIR)/.unpacked BUILD_CC=$(TARGET_CC) HOSTCC="$(HOSTCC)" \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/libpng/libpng.mk b/package/libpng/libpng.mk index 7451d4b42c..58bc1e67ba 100644 --- a/package/libpng/libpng.mk +++ b/package/libpng/libpng.mk @@ -41,6 +41,7 @@ $(LIBPNG_DIR)/.configured: $(LIBPNG_DIR)/.unpacked (cd $(LIBPNG_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ac_cv_func_memcmp_working=yes \ ac_cv_have_decl_malloc=yes \ gl_cv_func_malloc_0_nonnull=yes \ diff --git a/package/libraw1394/libraw1394.mk b/package/libraw1394/libraw1394.mk index bc96204903..0d84271349 100644 --- a/package/libraw1394/libraw1394.mk +++ b/package/libraw1394/libraw1394.mk @@ -20,6 +20,7 @@ $(LIBRAW1394_DIR)/.configured: $(LIBRAW1394_DIR)/.source (cd $(LIBRAW1394_DIR); \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/libsysfs/libsysfs.mk b/package/libsysfs/libsysfs.mk index 5291b99713..8a05806840 100644 --- a/package/libsysfs/libsysfs.mk +++ b/package/libsysfs/libsysfs.mk @@ -40,6 +40,7 @@ $(LIBSYSFS_DIR)/.configured: $(LIBSYSFS_DIR)/.unpacked (cd $(LIBSYSFS_DIR); \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) " \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/libtool/libtool.mk b/package/libtool/libtool.mk index b977cd1161..f97f9e47dc 100644 --- a/package/libtool/libtool.mk +++ b/package/libtool/libtool.mk @@ -24,6 +24,7 @@ $(LIBTOOL_DIR)/.configured: $(LIBTOOL_DIR)/.unpacked (cd $(LIBTOOL_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/libusb/libusb.mk b/package/libusb/libusb.mk index f00de94ebf..8ae81a1dd8 100644 --- a/package/libusb/libusb.mk +++ b/package/libusb/libusb.mk @@ -31,6 +31,7 @@ $(LIBUSB_DIR)/.configured: $(LIBUSB_DIR)/.unpacked (cd $(LIBUSB_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ac_cv_header_regex_h=no \ ac_cv_c_bigendian=$(LIBUSB_BE) \ ./configure \ diff --git a/package/lighttpd/lighttpd.mk b/package/lighttpd/lighttpd.mk index aa3c3bada1..2b8f6317bd 100644 --- a/package/lighttpd/lighttpd.mk +++ b/package/lighttpd/lighttpd.mk @@ -30,6 +30,7 @@ $(LIGHTTPD_DIR)/.configured: $(LIGHTTPD_DIR)/.unpacked (cd $(LIGHTTPD_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/links/links.mk b/package/links/links.mk index 6f4e6aa266..344765ae27 100644 --- a/package/links/links.mk +++ b/package/links/links.mk @@ -20,6 +20,7 @@ $(LINKS_DIR)/.configured: $(LINKS_DIR)/.unpacked (cd $(LINKS_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/lrzsz/lrzsz.mk b/package/lrzsz/lrzsz.mk index 8ca73920b7..cf7ea63113 100644 --- a/package/lrzsz/lrzsz.mk +++ b/package/lrzsz/lrzsz.mk @@ -37,6 +37,8 @@ $(LRZSZ_DIR)/.unpacked: $(DL_DIR)/$(LRZSZ_SOURCE) $(LRZSZ_DIR)/.configured: $(LRZSZ_DIR)/.unpacked (cd $(LRZSZ_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/ltrace/ltrace.mk b/package/ltrace/ltrace.mk index a9da788ff0..a211ce2db6 100644 --- a/package/ltrace/ltrace.mk +++ b/package/ltrace/ltrace.mk @@ -29,6 +29,8 @@ $(LTRACE_DIR)/.source: $(DL_DIR)/$(LTRACE_SOURCE) $(DL_DIR)/$(LTRACE_SOURCE2) $(LTRACE_DIR)/.configured: $(LTRACE_DIR)/.source (cd $(LTRACE_DIR); \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/ltt/ltt.mk b/package/ltt/ltt.mk index 4fddae3b7a..f4a2d0962f 100644 --- a/package/ltt/ltt.mk +++ b/package/ltt/ltt.mk @@ -70,6 +70,7 @@ $(LTT_DIR2)/.configured: $(LTT_DIR2)/.unpacked (cd $(LTT_DIR2); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk index 7a77f4712c..7d5c834a87 100644 --- a/package/lvm2/lvm2.mk +++ b/package/lvm2/lvm2.mk @@ -46,6 +46,7 @@ $(LVM2_DIR)/.configured: $(LVM2_DIR)/.unpacked (cd $(LVM2_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/lzma/lzma.mk b/package/lzma/lzma.mk index 24682fdcd0..c425907e00 100644 --- a/package/lzma/lzma.mk +++ b/package/lzma/lzma.mk @@ -62,6 +62,7 @@ $(LZMA_TARGET_DIR)/.configured: $(LZMA_TARGET_DIR)/.source (cd $(LZMA_TARGET_DIR); rm -f config.cache ;\ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) $(LZMA_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ac_cv_func_malloc_0_nonnull=yes \ ./configure \ --target=$(GNU_TARGET_NAME) \ diff --git a/package/lzo/lzo.mk b/package/lzo/lzo.mk index 69c39f19d7..de7e3e325c 100644 --- a/package/lzo/lzo.mk +++ b/package/lzo/lzo.mk @@ -31,6 +31,7 @@ $(LZO_DIR)/.configured: $(LZO_DIR)/.unpacked (cd $(LZO_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/m4/m4.mk b/package/m4/m4.mk index 5ecdaae556..d473ccfe46 100644 --- a/package/m4/m4.mk +++ b/package/m4/m4.mk @@ -24,6 +24,7 @@ $(M4_DIR)/.configured: $(M4_DIR)/.unpacked (cd $(M4_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/make/make.mk b/package/make/make.mk index 27ec0dc988..ffca96a384 100644 --- a/package/make/make.mk +++ b/package/make/make.mk @@ -25,6 +25,7 @@ $(GNUMAKE_DIR)/.configured: $(GNUMAKE_DIR)/.unpacked (cd $(GNUMAKE_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ make_cv_sys_gnu_glob=no \ GLOBINC='-I$(GNUMAKE_DIR)/glob' \ GLOBLIB=glob/libglob.a \ diff --git a/package/metacity/metacity.mk b/package/metacity/metacity.mk index 123605cc00..4e1eb56c0c 100644 --- a/package/metacity/metacity.mk +++ b/package/metacity/metacity.mk @@ -37,6 +37,7 @@ $(METACITY_DIR)/.configured: $(METACITY_DIR)/.unpacked (cd $(METACITY_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ PKG_CONFIG=$(STAGING_DIR)/usr/bin/pkg-config \ GLIB_CONFIG=$(STAGING_DIR)/bin/glib-config \ diff --git a/package/module-init-tools/module-init-tools.mk b/package/module-init-tools/module-init-tools.mk index 93fe48eb38..a14de6044b 100644 --- a/package/module-init-tools/module-init-tools.mk +++ b/package/module-init-tools/module-init-tools.mk @@ -25,6 +25,8 @@ $(MODULE_INIT_TOOLS_DIR)/.unpacked: $(DL_DIR)/$(MODULE_INIT_TOOLS_SOURCE) $(MODULE_INIT_TOOLS_DIR)/.configured: $(MODULE_INIT_TOOLS_DIR)/.unpacked (cd $(MODULE_INIT_TOOLS_DIR); \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ INSTALL=$(MODULE_INIT_TOOLS_DIR)/install-sh \ ./configure \ --target=$(GNU_TARGET_NAME) \ diff --git a/package/modutils/modutils.mk b/package/modutils/modutils.mk index 30d5d45944..bdfc5276ca 100644 --- a/package/modutils/modutils.mk +++ b/package/modutils/modutils.mk @@ -30,6 +30,8 @@ $(MODUTILS_DIR1)/.source: $(DL_DIR)/$(MODUTILS_SOURCE) $(MODUTILS_DIR1)/.configured: $(MODUTILS_DIR1)/.source (cd $(MODUTILS_DIR1); \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ INSTALL=$(MODUTILS_DIR1)/install-sh \ ./configure \ --target=$(GNU_TARGET_NAME) \ diff --git a/package/mpfr/mpfr.mk b/package/mpfr/mpfr.mk index 0f760846db..ec59a91933 100644 --- a/package/mpfr/mpfr.mk +++ b/package/mpfr/mpfr.mk @@ -40,6 +40,7 @@ $(MPFR_TARGET_DIR)/.configured: $(MPFR_DIR)/.unpacked $(STAGING_DIR)/lib/$(GMP_B (cd $(MPFR_TARGET_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ac_cv_c_bigendian=$(MPFR_BE) \ $(MPFR_DIR)/configure \ --target=$(GNU_TARGET_NAME) \ diff --git a/package/nano/nano.mk b/package/nano/nano.mk index 0c6ce2b06c..98eab7c864 100644 --- a/package/nano/nano.mk +++ b/package/nano/nano.mk @@ -24,6 +24,7 @@ $(NANO_DIR)/.configured: $(NANO_DIR)/.unpacked (cd $(NANO_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ac_cv_header_regex_h=no \ ./configure \ --target=$(GNU_TARGET_NAME) \ diff --git a/package/nbd/nbd.mk b/package/nbd/nbd.mk index cd8d9c1e0e..22256c245c 100644 --- a/package/nbd/nbd.mk +++ b/package/nbd/nbd.mk @@ -20,6 +20,8 @@ $(NBD_DIR)/.unpacked: $(DL_DIR)/$(NBD_SOURCE) $(NBD_DIR)/.configured: $(NBD_DIR)/.unpacked (cd $(NBD_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ CC=$(TARGET_CC) \ ./configure \ --target=$(GNU_TARGET_NAME) \ diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk index 9ccd2d8a95..028e8fb004 100644 --- a/package/ncurses/ncurses.mk +++ b/package/ncurses/ncurses.mk @@ -46,6 +46,7 @@ $(NCURSES_DIR)/.configured: $(NCURSES_DIR)/.dist BUILD_CC="$(HOSTCC)" \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(REAL_GNU_TARGET_NAME) \ diff --git a/package/netcat/netcat.mk b/package/netcat/netcat.mk index c236058de9..243a583392 100644 --- a/package/netcat/netcat.mk +++ b/package/netcat/netcat.mk @@ -25,6 +25,7 @@ $(NETCAT_DIR)/.configured: $(NETCAT_DIR)/.unpacked (cd $(NETCAT_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index 09f2ac03dd..09184c7b09 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -29,6 +29,8 @@ $(NETSNMP_DIR)/.configured: $(NETSNMP_DIR)/.unpacked (cd $(NETSNMP_DIR); autoconf; \ ac_cv_CAN_USE_SYSCTL=no \ PATH=$(TARGET_PATH) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --with-cc=$(TARGET_CROSS)gcc \ --with-ar=$(TARGET_CROSS)ar \ diff --git a/package/newt/newt.mk b/package/newt/newt.mk index f48956959c..1a154aeb9d 100644 --- a/package/newt/newt.mk +++ b/package/newt/newt.mk @@ -25,6 +25,8 @@ $(NEWT_DIR)/.source: $(DL_DIR)/$(NEWT_SOURCE) $(NEWT_DIR)/.configured: $(NEWT_DIR)/.source (cd $(NEWT_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS) $(NEWT_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ @@ -45,7 +47,7 @@ $(NEWT_DIR)/.configured: $(NEWT_DIR)/.source touch $(NEWT_DIR)/.configured; $(NEWT_DIR)/libnewt.so.$(NEWT_VERSION): $(NEWT_DIR)/.configured - $(MAKE) CFLAGS="$(NEWT_CFLAGS)" CC=$(TARGET_CC) -C $(NEWT_DIR) + $(MAKE) CFLAGS="$(TARGET_CFLAGS) $(NEWT_CFLAGS)" CC=$(TARGET_CC) -C $(NEWT_DIR) touch -c $(NEWT_DIR)/libnewt.so.$(NEWT_VERSION) $(STAGING_DIR)/lib/libnewt.a: $(NEWT_DIR)/libnewt.so.$(NEWT_VERSION) diff --git a/package/ntp/ntp.mk b/package/ntp/ntp.mk index afdbdb74f2..f09703cf2c 100644 --- a/package/ntp/ntp.mk +++ b/package/ntp/ntp.mk @@ -27,6 +27,7 @@ $(NTP_DIR)/.configured: $(NTP_DIR)/.unpacked (cd $(NTP_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ac_cv_lib_md5_MD5Init=no \ ./configure \ --target=$(GNU_TARGET_NAME) \ diff --git a/package/openntpd/openntpd.mk b/package/openntpd/openntpd.mk index 767cb05fa2..6719acfee8 100644 --- a/package/openntpd/openntpd.mk +++ b/package/openntpd/openntpd.mk @@ -22,6 +22,7 @@ $(OPENNTPD_DIR)/.configured: $(OPENNTPD_DIR)/.source (cd $(OPENNTPD_DIR); \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk index 8b47cb9201..607e24c07b 100644 --- a/package/openssh/openssh.mk +++ b/package/openssh/openssh.mk @@ -21,6 +21,7 @@ $(OPENSSH_DIR)/.configured: $(OPENSSH_DIR)/.unpacked $(TARGET_CONFIGURE_OPTS) \ LD=$(TARGET_CROSS)gcc \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/openvpn/openvpn.mk b/package/openvpn/openvpn.mk index d0cedf1006..630fa5f2cf 100644 --- a/package/openvpn/openvpn.mk +++ b/package/openvpn/openvpn.mk @@ -36,6 +36,7 @@ $(OPENVPN_DIR)/.configured: $(OPENVPN_DIR)/.unpacked (cd $(OPENVPN_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/pango/pango.mk b/package/pango/pango.mk index 26ae3e89fa..7065ffa369 100644 --- a/package/pango/pango.mk +++ b/package/pango/pango.mk @@ -18,6 +18,8 @@ PANGO_BE:=no endif PANGO_BUILD_ENV=$(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ac_cv_c_bigendian=$(PANGO_BE) \ ac_cv_func_posix_getpwuid_r=yes \ glib_cv_stack_grows=no \ diff --git a/package/pkgconfig/pkgconfig.mk b/package/pkgconfig/pkgconfig.mk index c86f78e54b..b5f34dd697 100644 --- a/package/pkgconfig/pkgconfig.mk +++ b/package/pkgconfig/pkgconfig.mk @@ -23,6 +23,8 @@ $(PKGCONFIG_DIR)/.unpacked: $(DL_DIR)/$(PKGCONFIG_SOURCE) $(PKGCONFIG_DIR)/.configured: $(PKGCONFIG_DIR)/.unpacked (cd $(PKGCONFIG_DIR); rm -rf config.cache; \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --prefix=/usr \ --exec-prefix=/usr \ diff --git a/package/pppd/pppd.mk b/package/pppd/pppd.mk index 66f7d0868a..ba1f8cbdd7 100644 --- a/package/pppd/pppd.mk +++ b/package/pppd/pppd.mk @@ -31,6 +31,8 @@ $(PPPD_DIR)/.unpacked: $(DL_DIR)/$(PPPD_SOURCE) $(PPPD_DIR)/.configured: $(PPPD_DIR)/.unpacked (cd $(PPPD_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/psmisc/psmisc.mk b/package/psmisc/psmisc.mk index acc6516695..ccb7bf90e6 100644 --- a/package/psmisc/psmisc.mk +++ b/package/psmisc/psmisc.mk @@ -21,6 +21,7 @@ $(PSMISC_DIR)/.configured: $(PSMISC_DIR)/.unpacked (cd $(PSMISC_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/qte/qte.mk b/package/qte/qte.mk index 8e434bae5e..8c8482d6b6 100644 --- a/package/qte/qte.mk +++ b/package/qte/qte.mk @@ -138,6 +138,7 @@ $(QTE_QTE_DIR)/.configured: $(QTE_QTE_DIR)/.unpacked $(QTE_TMAKE_DIR)/.unpacked (cd $(@D); export QTDIR=`pwd`; export TMAKEPATH=$(QTE_TMAKE_DIR)/lib/qws/linux-x86-g++; export PATH=$(STAGING_DIR)/bin:$$QTDIR/bin:$$PATH; export LD_LIBRARY_PATH=$$QTDIR/lib:$$LD_LIBRARY_PATH; echo 'yes' | \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ $(QTE_QTE_CONFIGURE) -qconfig qpe -keypad-mode -qvfb -depths 4,8,16,32 -xplatform $(BR2_QTE_CROSS_PLATFORM) \ ); @@ -158,6 +159,7 @@ $(QTE_QVFB_DIR)/.configured: $(QTE_QVFB_DIR)/.unpacked $(QTE_TMAKE_DIR)/.unpacke (cd $(@D); export QTDIR=`pwd`; export TMAKEPATH=$(QTE_TMAKE_DIR)/lib/linux-g++; export $$QTDIR/bin:$$PATH; export LD_LIBRARY_PATH=$$QTDIR/lib:$$LD_LIBRARY_PATH; echo 'yes' | \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ $(QTE_QVFB_CONFIGURE) \ ); @@ -173,6 +175,7 @@ $(QTE_QTOPIA_DIR)/.configured: $(QTE_QTOPIA_DIR)/.unpacked $(QTE_TMAKE_DIR)/.unp (cd $(@D); export QTDIR=$(QTE_QTE_DIR); export QPEDIR=$(QTE_QTOPIA_DIR); export PATH=$(STAGING_DIR)/bin:$$QTDIR/bin:$$PATH; QT3DIR=$(QTE_QTE_DIR); echo 'yes' | \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ $(QTE_QTOPIA_CONFIGURE) --edition phone -no-qtopiadesktop -dqt $(QTE_QT3_DIR) -arch generic -displaysize 160-240 -languages en_US \ -platform linux-g++ -qvfb -xplatform $(BR2_QTE_CROSS_PLATFORM) \ diff --git a/package/qtopia4/qtopia4.mk b/package/qtopia4/qtopia4.mk index e70a0c1322..e424e76c39 100644 --- a/package/qtopia4/qtopia4.mk +++ b/package/qtopia4/qtopia4.mk @@ -121,6 +121,7 @@ $(QTOPIA4_TARGET_DIR)/.configured: $(QTOPIA4_TARGET_DIR)/.unpacked (cd $(QTOPIA4_TARGET_DIR); rm -rf config.cache; \ PATH=$(TARGET_PATH) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ CXXFLAGS="$(TARGET_CXXFLAGS)" \ QPEHOME=/usr \ QPEDIR=/usr \ diff --git a/package/raidtools/raidtools.mk b/package/raidtools/raidtools.mk index 235b747605..1ecbbc60bb 100644 --- a/package/raidtools/raidtools.mk +++ b/package/raidtools/raidtools.mk @@ -22,6 +22,8 @@ $(RAIDTOOLS2_DIR)/.unpacked: $(DL_DIR)/$(RAIDTOOLS2_SOURCE) $(RAIDTOOLS2_DIR)/.configured: $(RAIDTOOLS2_DIR)/.unpacked (cd $(RAIDTOOLS2_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/rdesktop/rdesktop.mk b/package/rdesktop/rdesktop.mk index 20e8a7cc3c..8214d5dffc 100644 --- a/package/rdesktop/rdesktop.mk +++ b/package/rdesktop/rdesktop.mk @@ -21,6 +21,8 @@ $(RDESKTOP_DIR)/.unpacked: $(DL_DIR)/$(RDESKTOP_SOURCE) $(RDESKTOP_DIR)/.configured: $(RDESKTOP_DIR)/.unpacked (cd $(RDESKTOP_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/readline/readline.mk b/package/readline/readline.mk index fd82ec7caa..8b66a2a495 100644 --- a/package/readline/readline.mk +++ b/package/readline/readline.mk @@ -24,6 +24,7 @@ $(READLINE_DIR)/.configured: $(READLINE_DIR)/.unpacked (cd $(READLINE_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/rsync/rsync.mk b/package/rsync/rsync.mk index aed105cda9..c3dee21a52 100644 --- a/package/rsync/rsync.mk +++ b/package/rsync/rsync.mk @@ -25,6 +25,7 @@ $(RSYNC_DIR)/.configured: $(RSYNC_DIR)/.unpacked (cd $(RSYNC_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/ruby/ruby.mk b/package/ruby/ruby.mk index 9ec0201905..7c873c0251 100644 --- a/package/ruby/ruby.mk +++ b/package/ruby/ruby.mk @@ -25,6 +25,7 @@ $(RUBY_DIR)/.configured: $(RUBY_DIR)/.unpacked (cd $(RUBY_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/rxvt/rxvt.mk b/package/rxvt/rxvt.mk index 9468ba4ebb..efe4bdb3b5 100644 --- a/package/rxvt/rxvt.mk +++ b/package/rxvt/rxvt.mk @@ -40,6 +40,8 @@ $(RXVT_DIR)/.unpacked: $(DL_DIR)/$(RXVT_SOURCE) $(RXVT_DIR)/.configured: $(RXVT_DIR)/.unpacked (cd $(RXVT_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ rxvt_cv_ptys=GLIBC \ ./configure \ --target=$(GNU_TARGET_NAME) \ diff --git a/package/samba/samba.mk b/package/samba/samba.mk index 86681fa5cd..a645b26282 100644 --- a/package/samba/samba.mk +++ b/package/samba/samba.mk @@ -26,6 +26,7 @@ $(SAMBA_DIR)/.configured: $(SAMBA_DIR)/.unpacked ./autogen.sh; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ samba_cv_HAVE_GETTIMEOFDAY_TZ=yes \ samba_cv_USE_SETREUID=yes \ ./configure \ diff --git a/package/sdl/sdl.mk b/package/sdl/sdl.mk index e25d60acba..4f5bb39e53 100644 --- a/package/sdl/sdl.mk +++ b/package/sdl/sdl.mk @@ -22,6 +22,7 @@ $(SDL_DIR)/.configured: $(SDL_DIR)/.unpacked (cd $(SDL_DIR); \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/sed/sed.mk b/package/sed/sed.mk index 640e7dd42b..995f72e646 100644 --- a/package/sed/sed.mk +++ b/package/sed/sed.mk @@ -97,6 +97,7 @@ $(SED_DIR2)/.configured: $(SED_DIR2)/.unpacked (cd $(SED_DIR2); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" CPPFLAGS="$(SED_CFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ diff --git a/package/setserial/setserial.mk b/package/setserial/setserial.mk index cea3e541ad..688f8e5482 100644 --- a/package/setserial/setserial.mk +++ b/package/setserial/setserial.mk @@ -34,6 +34,7 @@ $(SETSERIAL_DIR)/.configured: $(SETSERIAL_DIR)/.unpacked (cd $(SETSERIAL_DIR); rm -rf config.cache ; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) $(SETSERIAL_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/smartmontools/smartmontools.mk b/package/smartmontools/smartmontools.mk index df749b7c09..6ac0b20a95 100644 --- a/package/smartmontools/smartmontools.mk +++ b/package/smartmontools/smartmontools.mk @@ -27,6 +27,7 @@ $(SMARTMONTOOLS_DIR)/.configured: $(SMARTMONTOOLS_DIR)/.unpacked (cd $(SMARTMONTOOLS_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/socat/socat.mk b/package/socat/socat.mk index 7c62392356..15f57ab715 100644 --- a/package/socat/socat.mk +++ b/package/socat/socat.mk @@ -29,6 +29,8 @@ $(SOCAT_WORKDIR)/Makefile: $(SOCAT_DIR)/.unpacked mkdir -p $(SOCAT_WORKDIR) (cd $(SOCAT_WORKDIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" $(SOCAT_DIR)/configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/strace/strace.mk b/package/strace/strace.mk index 1a17db0191..631ba13771 100644 --- a/package/strace/strace.mk +++ b/package/strace/strace.mk @@ -30,6 +30,7 @@ $(STRACE_DIR)/.configured: $(STRACE_DIR)/.unpacked $(if $(BR_LARGEFILE),ac_cv_type_stat64=yes,ac_cv_type_stat64=no) \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) $(BR2_STRACE_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" aaa_ac_cv_header_linux_if_packet_h=yes \ ./configure \ --target=$(REAL_GNU_TARGET_NAME) \ diff --git a/package/stunnel/stunnel.mk b/package/stunnel/stunnel.mk index bc1e810679..c18cc1d02c 100644 --- a/package/stunnel/stunnel.mk +++ b/package/stunnel/stunnel.mk @@ -25,7 +25,7 @@ $(STUNNEL_DIR)/.configured: $(STUNNEL_DIR)/.unpacked (cd $(STUNNEL_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ - LDFLAGS=-L$(STAGING_DIR)/lib \ + LDFLAGS="$(TARGET_LDFLAGS)" ac_cv_file___dev_ptmx_=yes \ ac_cv_file___dev_ptc_=no \ ./configure \ diff --git a/package/sudo/sudo.mk b/package/sudo/sudo.mk index 2de748ac43..ccb2e9edd3 100644 --- a/package/sudo/sudo.mk +++ b/package/sudo/sudo.mk @@ -25,6 +25,7 @@ $(SUDO_DIR)/.configured: $(SUDO_DIR)/.unpacked $(SUDO_CONFIG_FILE) $(TARGET_CONFIGURE_OPTS) \ ./configure \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ diff --git a/package/tar/tar.mk b/package/tar/tar.mk index b8986a6013..4572bb4153 100644 --- a/package/tar/tar.mk +++ b/package/tar/tar.mk @@ -25,6 +25,7 @@ $(GNUTAR_DIR)/.configured: $(GNUTAR_DIR)/.unpacked (cd $(GNUTAR_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" ac_cv_func_chown_works=yes \ gl_cv_func_chown_follows_symlink=yes \ ./configure \ diff --git a/package/tcl/tcl.mk b/package/tcl/tcl.mk index 614d1039df..f3ccd6df52 100644 --- a/package/tcl/tcl.mk +++ b/package/tcl/tcl.mk @@ -20,6 +20,7 @@ $(TCL_DIR)/.configured: $(TCL_DIR)/.source (cd $(TCL_DIR)/unix; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/tcpdump/dhcpdump.mk b/package/tcpdump/dhcpdump.mk index 3c6283214d..7195b85ce2 100644 --- a/package/tcpdump/dhcpdump.mk +++ b/package/tcpdump/dhcpdump.mk @@ -27,6 +27,7 @@ $(DHCPDUMP_DIR)/.configured: $(DHCPDUMP_DIR)/.unpacked BUILD_CC=$(TARGET_CC) HOSTCC="$(HOSTCC)" \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/tcpdump/tcpdump.mk b/package/tcpdump/tcpdump.mk index 456e9dc8b7..78830a9372 100644 --- a/package/tcpdump/tcpdump.mk +++ b/package/tcpdump/tcpdump.mk @@ -28,6 +28,7 @@ $(TCPDUMP_DIR)/.configured: $(TCPDUMP_DIR)/.unpacked BUILD_CC=$(TARGET_CC) HOSTCC="$(HOSTCC)" \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/tftpd/tftpd.mk b/package/tftpd/tftpd.mk index 6bd901df70..d053912073 100644 --- a/package/tftpd/tftpd.mk +++ b/package/tftpd/tftpd.mk @@ -25,6 +25,7 @@ $(TFTP_HPA_DIR)/.configured: $(TFTP_HPA_DIR)/.unpacked (cd $(TFTP_HPA_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/thttpd/thttpd.mk b/package/thttpd/thttpd.mk index 6bb7263ada..9b72984172 100644 --- a/package/thttpd/thttpd.mk +++ b/package/thttpd/thttpd.mk @@ -26,6 +26,7 @@ $(THTTPD_DIR)/.configured: $(THTTPD_DIR)/.unpacked (cd $(THTTPD_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk index c47415ddd1..b54c577cf6 100644 --- a/package/tiff/tiff.mk +++ b/package/tiff/tiff.mk @@ -23,6 +23,8 @@ $(TIFF_DIR)/.unpacked: $(DL_DIR)/$(TIFF_SOURCE) $(TIFF_DIR)/.configured: $(TIFF_DIR)/.unpacked (cd $(TIFF_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/tn5250/tn5250.mk b/package/tn5250/tn5250.mk index 8f19c64fc4..346e3ec8ed 100644 --- a/package/tn5250/tn5250.mk +++ b/package/tn5250/tn5250.mk @@ -13,6 +13,8 @@ $(TN5250_DIR)/.dist: $(DL_DIR)/$(TN5250_SOURCE) $(TN5250_DIR)/.configured: $(TN5250_DIR)/.dist (cd $(TN5250_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/usbutils/usbutils.mk b/package/usbutils/usbutils.mk index 797e6b7201..56786b62c5 100644 --- a/package/usbutils/usbutils.mk +++ b/package/usbutils/usbutils.mk @@ -25,7 +25,7 @@ $(USBUTILS_DIR)/.configured: $(USBUTILS_DIR)/.unpacked (cd $(USBUTILS_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) -I$(TARGET_DIR)/usr/include" \ - LDFLAGS="-L$(TARGET_DIR)/usr/lib" \ + LDFLAGS="$(TARGET_LDFLAGS)" ac_cv_func_malloc_0_nonnull=yes \ ./configure \ --target=$(GNU_TARGET_NAME) \ diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk index a7fd1bcb62..9c6767530c 100644 --- a/package/util-linux/util-linux.mk +++ b/package/util-linux/util-linux.mk @@ -26,6 +26,7 @@ $(UTIL-LINUX_DIR)/.configured: $(UTIL-LINUX_DIR)/.unpacked (cd $(UTIL-LINUX_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" ./configure \ --target=$(GNU_TARGET_NAME) \ --prefix=/usr \ diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk index f96517cb05..e2a634641e 100644 --- a/package/valgrind/valgrind.mk +++ b/package/valgrind/valgrind.mk @@ -24,6 +24,8 @@ $(VALGRIND_DIR)/.patched: $(VALGRIND_DIR)/.unpacked $(VALGRIND_DIR)/.configured: $(VALGRIND_DIR)/.patched (cd $(VALGRIND_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/vtun/vtun.mk b/package/vtun/vtun.mk index a002af4dc8..97573f904e 100644 --- a/package/vtun/vtun.mk +++ b/package/vtun/vtun.mk @@ -27,6 +27,8 @@ $(VTUN_DIR)/.unpacked: $(DL_DIR)/$(VTUN_SOURCE) $(VTUN_DIR)/.configured: $(VTUN_DIR)/.unpacked (cd $(VTUN_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/wget/wget.mk b/package/wget/wget.mk index c266afcb44..6899e525aa 100644 --- a/package/wget/wget.mk +++ b/package/wget/wget.mk @@ -24,6 +24,7 @@ $(WGET_DIR)/.configured: $(WGET_DIR)/.unpacked (cd $(WGET_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/which/which.mk b/package/which/which.mk index c284f7978d..722b033919 100644 --- a/package/which/which.mk +++ b/package/which/which.mk @@ -24,6 +24,7 @@ $(WHICH_DIR)/.configured: $(WHICH_DIR)/.unpacked (cd $(WHICH_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/xfsprogs/xfsprogs.mk b/package/xfsprogs/xfsprogs.mk index 901282e864..4cb3aecc7f 100644 --- a/package/xfsprogs/xfsprogs.mk +++ b/package/xfsprogs/xfsprogs.mk @@ -36,7 +36,7 @@ $(XFSPROGS_DIR)/.configured: $(XFSPROGS_DIR)/.unpacked $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ CPPFLAGS=-I$(E2FSPROGS_DIR)/lib \ - LDFLAGS=-L$(E2FSPROGS_DIR)/lib \ + LDFLAGS="$(TARGET_LDFLAGS) -L$(E2FSPROGS_DIR)/lib" \ LIBTOOL=$(LIBTOOL_DIR)/libtool \ INSTALL_USER=$(shell whoami) \ INSTALL_GROUP=$(shell groups | cut -d" " -f1) \ diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk index 5560a3bdc7..fd40ea26a6 100644 --- a/package/zlib/zlib.mk +++ b/package/zlib/zlib.mk @@ -25,6 +25,7 @@ $(ZLIB_DIR)/.configured: $(ZLIB_DIR)/.source (cd $(ZLIB_DIR); \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(ZLIB_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" ./configure \ --shared \ --prefix=/usr \ -- 2.30.2