summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/build b/build
index e00ceab..1700de2 100755
--- a/build
+++ b/build
@@ -5,7 +5,9 @@ opkg opkg-doc libopkg.1 libopkg.1-dbg libopkg.1-dev: opkg.buildstamp
.SILENT: opkg.buildstamp
opkg.buildstamp:
cd src && chmod a+x configure && \
- ./configure --prefix=/usr --disable-static \
+ ./configure --prefix=/usr \
+ --build=${OH_BUILD_ARCH_GNU} --host=${OH_HOST_ARCH_GNU} \
+ --disable-static \
--disable-curl --disable-ssl-curl --disable-gpg && \
make && make DESTDIR=$$(pwd)/../dest install
oh-strip -gl /usr/lib/libopkg.so.1.0.0