diff src/wxwidgets.mk @ 2153:e4c83fa61a5b

replaced $(BUILD) with a more direct and less brittle construct For discussion, see the following email and its follow-ups: http://lists.nongnu.org/archive/html/mingw-cross-env-list/2011-11/msg00112.html
author Volker Grabsch <vog@notjusthosting.com>
date Mon, 28 Nov 2011 09:51:56 +0100
parents b005b9cf8998
children 861ed76f2041
line wrap: on
line diff
--- a/src/wxwidgets.mk	Mon Nov 28 16:42:01 2011 +1100
+++ b/src/wxwidgets.mk	Mon Nov 28 09:51:56 2011 +0100
@@ -23,7 +23,7 @@
     $(SED) -i 's,wx_cv_cflags_mthread=yes,wx_cv_cflags_mthread=no,' '$(1)/configure'
     cd '$(1)' && ./configure \
         --host='$(TARGET)' \
-        --build='$(BUILD)' \
+        --build="`config.guess`" \
         --disable-shared \
         --prefix='$(PREFIX)/$(TARGET)' \
         --enable-compat24 \
@@ -71,7 +71,7 @@
     $(SED) -i 's,wx_cv_cflags_mthread=yes,wx_cv_cflags_mthread=no,' '$(1)/$(wxwidgets_SUBDIR)/configure'
     cd '$(1)/$(wxwidgets_SUBDIR)' && ./configure \
         --host='$(TARGET)' \
-        --build='$(BUILD)' \
+        --build="`config.guess`" \
         --disable-shared \
         --prefix='$(PREFIX)/$(TARGET)' \
         --enable-compat24 \