summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/howto/CrossBuildForAarch64.md2
-rw-r--r--docs/howto/CrossBuildForArm.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/howto/CrossBuildForAarch64.md b/docs/howto/CrossBuildForAarch64.md
index e400a9597..f3dc55236 100644
--- a/docs/howto/CrossBuildForAarch64.md
+++ b/docs/howto/CrossBuildForAarch64.md
@@ -60,7 +60,7 @@ sudo apt-get install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
Build and install ARM Compute Library
```
-TARGET_ARCH=aarch64 make acl
+CROSS_BUILD=1 TARGET_ARCH=aarch64 make acl
```
Mostly you only need once of ACL build. This will build and install to
`Product/(target_arch-os)/out/bin` folder.
diff --git a/docs/howto/CrossBuildForArm.md b/docs/howto/CrossBuildForArm.md
index 38e544bb9..ebba7ec86 100644
--- a/docs/howto/CrossBuildForArm.md
+++ b/docs/howto/CrossBuildForArm.md
@@ -79,7 +79,7 @@ Then, copy `libstdc++.so.6.0.24` into `/usr/lib/arm-linux-gnueabihf`, and update
## Build and install ARM Compute Library
```
-TARGET_ARCH=armv7l make acl
+CROSS_BUILD=1 TARGET_ARCH=armv7l make acl
```
Mostly you only need once of ACL build. This will build and install to `Product/(target_arch-os)/out/bin` folder.
- this is required for ARM on Ubuntu