summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-04-22 21:02:16 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-04-22 21:02:16 (EDT)
commit4f572114d2a7fd0ac06ac1548959d3d619baf96b (patch)
treebed310171e76a4c93bfc4156b913af5a887246ab /build
parentf850a3a2a110c05fd7417a5e217b3d99613f3dc4 (diff)
Add '--build' and '--host' configure options.
Diffstat (limited to 'build')
-rwxr-xr-xbuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/build b/build
index 8732f1a..6cc5a80 100755
--- a/build
+++ b/build
@@ -7,7 +7,8 @@ $(PKGS): expat.buildstamp
.SILENT: expat.buildstamp
expat.buildstamp:
cd src && \
- ./configure --prefix=/usr && \
+ ./configure --prefix=/usr \
+ --build=$${OH_BUILD_ARCH_GNU} --host=$${OH_HOST_ARCH_GNU} && \
make && make DESTDIR=$$(pwd)/../dest install
oh-strip -gl /usr/lib/libexpat.so.1.6.0
oh-installfiles $(PKGS)