diff src/wget.mk @ 3013:bcc26ffe9a0f

use variable for --host and --build configure arguments
author John W. Eaton <jwe@octave.org>
date Sun, 02 Jun 2013 12:40:32 -0400
parents 100e618349f7
children 5ef49fb3299d
line wrap: on
line diff
--- a/src/wget.mk	Sun Jun 02 10:31:04 2013 -0400
+++ b/src/wget.mk	Sun Jun 02 12:40:32 2013 -0400
@@ -19,8 +19,7 @@
     $(SED) -i 's/^base64_encode /wget_base64_encode /;' '$(1)/src/utils.c'
     $(SED) -i 's/-lidn/`i686-pc-mingw32-pkg-config --libs libidn`/g;' '$(1)/configure'
     cd '$(1)' && ./configure \
-        --host='$(TARGET)' \
-        --build="`config.guess`" \
+        $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
         --prefix='$(HOST_PREFIX)' \
         --with-ssl=gnutls
     $(MAKE) -C '$(1)' -j '$(JOBS)' install