diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-03-11 21:56:49 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-03-11 21:57:53 +0000 |
commit | e5cfda8f32c074c27cc4ecfe801966b39938e8a5 (patch) | |
tree | 98aec21f1103e16647db99ebeca8f6bc71d3a114 /sdk | |
parent | 8286fe2d4dd6cbe8554947539ac0f10922353fb6 (diff) | |
download | toolchains-e5cfda8f32c074c27cc4ecfe801966b39938e8a5.tar.gz toolchains-e5cfda8f32c074c27cc4ecfe801966b39938e8a5.tar.bz2 |
Make the SDK environment only use the first instance of the tools it finds
Diffstat (limited to 'sdk')
-rw-r--r-- | sdk/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sdk/Makefile b/sdk/Makefile index 499a03b..d1821e6 100644 --- a/sdk/Makefile +++ b/sdk/Makefile @@ -47,10 +47,10 @@ VERSION_SPIDERMONKEY := 1.7.0 path__ := $(GCCSDK_INSTALL_CROSSBIN):$(PATH) # Tools -cc__ := $(wildcard $(GCCSDK_INSTALL_CROSSBIN)/*gcc) -cxx__ := $(wildcard $(GCCSDK_INSTALL_CROSSBIN)/*g++) -ar__ := $(wildcard $(GCCSDK_INSTALL_CROSSBIN)/*ar) -ranlib__ := $(wildcard $(GCCSDK_INSTALL_CROSSBIN)/*ranlib) +cc__ := $(word 1,$(wildcard $(GCCSDK_INSTALL_CROSSBIN)/*gcc)) +cxx__ := $(word 1,$(wildcard $(GCCSDK_INSTALL_CROSSBIN)/*g++)) +ar__ := $(word 1,$(wildcard $(GCCSDK_INSTALL_CROSSBIN)/*ar)) +ranlib__ := $(word 1,$(wildcard $(GCCSDK_INSTALL_CROSSBIN)/*ranlib)) # Flags cflags__ := -I$(GCCSDK_INSTALL_ENV)/include |