summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/portablexdr.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/portablexdr.mk b/src/portablexdr.mk
index 86267c8..a7f3cd7 100644
--- a/src/portablexdr.mk
+++ b/src/portablexdr.mk
@@ -18,7 +18,8 @@ define $(PKG)_BUILD
--host='$(TARGET)' \
--build="`config.guess`" \
--disable-shared \
- --prefix='$(PREFIX)/$(TARGET)'
+ --prefix='$(PREFIX)/$(TARGET)' \
+ AR='$(TARGET)-ar'
$(MAKE) -C '$(1)' -j '$(JOBS)'
$(MAKE) -C '$(1)' -j 1 install
endef