diff options
author | Tony Theodore <tonyt@logyst.com> | 2011-11-30 11:04:57 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2011-11-30 11:04:57 (GMT) |
commit | 7d78ab804442b70b1bb132b96173cbaaba14dadd (patch) | |
tree | 40108b2f78a51c51777e981088e53293f28f0c60 /src | |
parent | 19e2c7b079623c6b4165fe187ba36a75d2e18e61 (diff) | |
download | mxe-7d78ab804442b70b1bb132b96173cbaaba14dadd.zip mxe-7d78ab804442b70b1bb132b96173cbaaba14dadd.tar.gz mxe-7d78ab804442b70b1bb132b96173cbaaba14dadd.tar.bz2 |
install target-specific autotools config.site file
Diffstat (limited to 'src')
-rw-r--r-- | src/binutils.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/binutils.mk b/src/binutils.mk index 3c5d737..44aec48 100644 --- a/src/binutils.mk +++ b/src/binutils.mk @@ -26,6 +26,10 @@ define $(PKG)_BUILD $(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`" \ |