diff options
author | Tony Theodore <tonyt@logyst.com> | 2015-09-30 04:21:10 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2015-09-30 04:21:10 (GMT) |
commit | 97553b65c2d37ec1f36d84eaff171ea2b88d6af4 (patch) | |
tree | 413f7ff670015a35ff65aea4941276bfc0ae8704 | |
parent | 8a6a33a48c647030398221b7c7b3ab33d2be4ef3 (diff) | |
download | mxe-97553b65c2d37ec1f36d84eaff171ea2b88d6af4.zip mxe-97553b65c2d37ec1f36d84eaff171ea2b88d6af4.tar.gz mxe-97553b65c2d37ec1f36d84eaff171ea2b88d6af4.tar.bz2 |
gmp guile icu4c ncurses xmlrpc: use BUILD_CC/CXX portability variable
-rw-r--r-- | src/gmp.mk | 2 | ||||
-rw-r--r-- | src/guile.mk | 2 | ||||
-rw-r--r-- | src/icu4c.mk | 2 | ||||
-rw-r--r-- | src/ncurses.mk | 4 | ||||
-rw-r--r-- | src/xmlrpc-c.mk | 4 |
5 files changed, 7 insertions, 7 deletions
@@ -20,7 +20,7 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD - cd '$(1)' && CC_FOR_BUILD=gcc ./configure \ + cd '$(1)' && CC_FOR_BUILD=$(BUILD_CC) ./configure \ $(MXE_CONFIGURE_OPTS) \ --enable-cxx \ --without-readline diff --git a/src/guile.mk b/src/guile.mk index c3a3abe..d604ac6 100644 --- a/src/guile.mk +++ b/src/guile.mk @@ -23,7 +23,7 @@ define $(PKG)_BUILD # The setting "scm_cv_struct_timespec=no" ensures that Guile # won't try to use the "struct timespec" from <pthreads.h>, # which would fail because we tell Guile not to use Pthreads. - cd '$(1)' && CC_FOR_BUILD=gcc ./configure \ + cd '$(1)' && CC_FOR_BUILD=$(BUILD_CC) ./configure \ --host='$(TARGET)' \ --build="`config.guess`" \ --prefix='$(PREFIX)/$(TARGET)' \ diff --git a/src/icu4c.mk b/src/icu4c.mk index c53ec83..d91042c 100644 --- a/src/icu4c.mk +++ b/src/icu4c.mk @@ -22,7 +22,7 @@ endef define $(PKG)_BUILD_COMMON cd '$(1)/source' && autoreconf -fi mkdir '$(1).native' && cd '$(1).native' && '$(1)/source/configure' \ - CC=gcc CXX=g++ + CC=$(BUILD_CC) CXX=$(BUILD_CXX) $(MAKE) -C '$(1).native' -j '$(JOBS)' mkdir '$(1).cross' && cd '$(1).cross' && '$(1)/source/configure' \ diff --git a/src/ncurses.mk b/src/ncurses.mk index d5a6320..a7a29fd 100644 --- a/src/ncurses.mk +++ b/src/ncurses.mk @@ -35,8 +35,8 @@ define $(PKG)_BUILD --host='$(TARGET)' \ --build="`config.guess`" \ --prefix=$(PREFIX)/$(TARGET) \ - --with-build-cc=gcc \ - --with-build-cpp=cpp \ + --with-build-cc=$(BUILD_CC) \ + --with-build-cpp='$(BUILD_CC) -E' \ --disable-home-terminfo \ --enable-sp-funcs \ --enable-term-driver \ diff --git a/src/xmlrpc-c.mk b/src/xmlrpc-c.mk index 17810d6..950fb2a 100644 --- a/src/xmlrpc-c.mk +++ b/src/xmlrpc-c.mk @@ -20,8 +20,8 @@ define $(PKG)_UPDATE endef $(PKG)_MAKE_OPTS = \ - BUILDTOOL_CC=gcc \ - BUILDTOOL_CCLD=gcc \ + BUILDTOOL_CC=$(BUILD_CC) \ + BUILDTOOL_CCLD=$(BUILD_CC) \ SHARED_LIB_TYPE=@xmlrpc-c-shared-lib-type@ \ MUST_BUILD_SHLIB=@xmlrpc-c-must-build-shlib@ |