diff options
author | Mark Brand <mabrand@mabrand.nl> | 2011-11-26 20:28:02 (GMT) |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2011-11-26 20:28:02 (GMT) |
commit | 26a746fe7443471f2ebe32b13061d6b1513a30b3 (patch) | |
tree | 3dc084e33ee2c4c7ffcb35226c6e5cae8f45b05b | |
parent | 69c57d9d95084202e286ec5015f1a315fb379326 (diff) | |
download | mxe-26a746fe7443471f2ebe32b13061d6b1513a30b3.zip mxe-26a746fe7443471f2ebe32b13061d6b1513a30b3.tar.gz mxe-26a746fe7443471f2ebe32b13061d6b1513a30b3.tar.bz2 |
add BUILD and install config.guess and config.sub
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | src/gcc.mk | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -16,6 +16,7 @@ MAKEFILE := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) TOP_DIR := $(patsubst %/,%,$(dir $(MAKEFILE))) PATH := $(PREFIX)/bin:$(PATH) SHELL := bash +BUILD := $(shell config.guess 2>/dev/null) INSTALL := $(shell ginstall --help >/dev/null 2>&1 && echo g)install LIBTOOL := $(shell glibtool --help >/dev/null 2>&1 && echo g)libtool LIBTOOLIZE := $(shell glibtoolize --help >/dev/null 2>&1 && echo g)libtoolize @@ -29,6 +29,10 @@ define $(PKG)_BUILD cd '$(1)' && $(call UNPACK_PKG_ARCHIVE,gcc-mpfr) mv '$(1)/$(gcc-mpfr_SUBDIR)' '$(1)/mpfr' + # install config.guess for general use + $(INSTALL) -m755 '$(1)/config.guess' '$(PREFIX)/bin' + $(INSTALL) -m755 '$(1)/config.sub' '$(PREFIX)/bin' + # build GCC and support libraries mkdir '$(1).build' cd '$(1).build' && '$(1)/configure' \ |