summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2017-07-18 14:56:24 -0400
committerJoe George <joe@zeroc.com>2017-07-18 14:57:57 -0400
commitbe745cdc7b70e1eca66185630e77138a6b141202 (patch)
tree7cb42bf1b76ea330627f9cd458e5ed34536a0602
parentupdating build tools version for java/android (diff)
downloadice-be745cdc7b70e1eca66185630e77138a6b141202.tar.bz2
ice-be745cdc7b70e1eca66185630e77138a6b141202.tar.xz
ice-be745cdc7b70e1eca66185630e77138a6b141202.zip
Fix ICE-8357
Ensure that the build and target platform variables are never the same
-rw-r--r--config/Make.rules.Linux2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/Make.rules.Linux b/config/Make.rules.Linux
index a9ff8714707..8fd7bd69a17 100644
--- a/config/Make.rules.Linux
+++ b/config/Make.rules.Linux
@@ -12,7 +12,7 @@ is-bin-program = $(and $(filter $(bindir)%,$($4_targetdir)),$(f
ifneq ($(OECORE_SDK_VERSION),)
-build-platform = $(shell uname -m)
+build-platform = $(shell uname -m)-build
target-platform = $(shell echo $(CXX) | sed -r 's/^([a-z0-9_]+)-.*/\1/')
supported-platforms = $(target-platform) $(build-platform)
linux_id = yocto