File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,9 @@ ifeq ($(USE_TBB), Windows)
106
106
endif
107
107
108
108
# write compiler if set
109
- MAKE_ARGS += $(COMPILER)
109
+ ifneq (@COMPILER@, )
110
+ MAKE_ARGS += compiler=@COMPILER@
111
+ endif
110
112
111
113
# For Solaris detect if this is 32-bit R on x86 and if so forward that to TBB
112
114
ifeq ($(USE_TBB), SunOS)
Original file line number Diff line number Diff line change @@ -84,12 +84,14 @@ if (getRversion() < "4.0") {
84
84
}
85
85
86
86
# on Solaris, check if we're using gcc or g++
87
+ define(COMPILER = " " )
87
88
if (Sys.info()[[" sysname" ]] == " SunOS" ) {
88
89
cxx <- r_cmd_config(" CXX" )
89
90
version <- system(paste(cxx , " --version" ), intern = TRUE )
90
91
for (compiler in c(" gcc" , " g++" )) {
91
92
if (any(grepl(compiler , version , fixed = TRUE ))) {
92
- define(COMPILER = " compiler= gcc" )
93
+ define(COMPILER = " gcc" )
93
94
}
94
95
}
95
96
}
97
+
You can’t perform that action at this time.
0 commit comments