Mercurial > mxe-octave
changeset 2158:3a7782db4d61
install target-specific autotools config.site file
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Wed, 30 Nov 2011 22:04:57 +1100 |
parents | 04a450bd9643 |
children | 71aeb493e3d2 |
files | src/binutils.mk |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/binutils.mk Tue Nov 29 23:32:07 2011 +0100 +++ b/src/binutils.mk Wed Nov 30 22:04:57 2011 +1100 @@ -26,6 +26,10 @@ $(INSTALL) -m755 '$(1)/config.guess' '$(PREFIX)/bin/' $(INSTALL) -m755 '$(1)/config.sub' '$(PREFIX)/bin/' + # install target-specific autotools config file + $(INSTALL) -d '$(PREFIX)/$(TARGET)/share' + echo "ac_cv_build=`$(1)/config.guess`" > '$(PREFIX)/$(TARGET)/share/config.site' + cd '$(1)' && ./configure \ --target='$(TARGET)' \ --build="`config.guess`" \