diff options
author | Joe George <joe@zeroc.com> | 2017-07-18 14:56:24 -0400 |
---|---|---|
committer | Joe George <joe@zeroc.com> | 2017-07-18 14:57:57 -0400 |
commit | be745cdc7b70e1eca66185630e77138a6b141202 (patch) | |
tree | 7cb42bf1b76ea330627f9cd458e5ed34536a0602 | |
parent | updating build tools version for java/android (diff) | |
download | ice-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.Linux | 2 |
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 |