Line 0
Link Here
|
|
|
1 |
Accept absolute paths for $compiler variable (and so for $CC) |
2 |
|
3 |
--- build/common.inc.orig 2016-09-22 10:28:03.000000000 +0000 |
4 |
+++ build/common.inc 2017-01-05 21:44:56.121147000 +0000 |
5 |
@@ -106,17 +106,17 @@ |
6 |
target:=$(tbb_os) |
7 |
endif |
8 |
# process host/target compiler-dependent build configuration |
9 |
- ifeq (,$(wildcard $(tbb_root)/build/$(target).$(compiler).inc)) |
10 |
- $(error "$(compiler)" is not supported on $(target). Add build/$(target).$(compiler).inc file with compiler-specific settings. ) |
11 |
+ ifeq (,$(wildcard $(tbb_root)/build/$(target).$(notdir $(compiler)).inc)) |
12 |
+ $(error "$(notdir $(compiler))" is not supported on $(target). Add build/$(target).$(notdir $(compiler)).inc file with compiler-specific settings. ) |
13 |
endif |
14 |
- include $(tbb_root)/build/$(target).$(compiler).inc |
15 |
+ include $(tbb_root)/build/$(target).$(notdir $(compiler)).inc |
16 |
endif |
17 |
|
18 |
ifneq ($(BUILDING_PHASE),1) |
19 |
# definitions for top-level Makefiles |
20 |
origin_build_dir:=$(origin tbb_build_dir) |
21 |
tbb_build_dir?=$(tbb_root)$(SLASH)build |
22 |
- export tbb_build_prefix?=$(tbb_os)_$(arch)_$(compiler)_$(runtime)$(CPF_SUFFIX) |
23 |
+ export tbb_build_prefix?=$(tbb_os)_$(arch)_$(notdir $(compiler))_$(runtime)$(CPF_SUFFIX) |
24 |
work_dir=$(tbb_build_dir)$(SLASH)$(tbb_build_prefix) |
25 |
endif # BUILDING_PHASE != 1 |
26 |
|