fixes for a few build errors on osx without fink
[openwrt/svn-archive/archive.git] / include / host.mk
index 423ca1661082b53cfd6ce8daf0dd56640a4d884d..8b4ce3d24b9101ebe1ab1603da33a75decd56273 100644 (file)
@@ -35,3 +35,9 @@ $(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk
        )
 
 endif
+
+ifeq ($(HOST_OS),Linux)
+  XARGS:=xargs -r
+else
+  XARGS:=xargs
+endif