Mercurial > hg > mxe-octave-anirudha
changeset 2146:02d04ce7c9c7
add BUILD and install config.guess and config.sub
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Sat, 26 Nov 2011 21:28:02 +0100 |
parents | 0d54b39a911d |
children | 7a52fd32a10d |
files | Makefile src/gcc.mk |
diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile +++ b/Makefile @@ -16,6 +16,7 @@ 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
--- a/src/gcc.mk +++ b/src/gcc.mk @@ -29,6 +29,10 @@ 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' \