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)
106106endif
107107
108108# write compiler if set
109- MAKE_ARGS += $(COMPILER)
109+ ifneq (@COMPILER@, )
110+ MAKE_ARGS += compiler=@COMPILER@
111+ endif
110112
111113# For Solaris detect if this is 32-bit R on x86 and if so forward that to TBB
112114ifeq ($(USE_TBB), SunOS)
Original file line number Diff line number Diff line change @@ -84,12 +84,14 @@ if (getRversion() < "4.0") {
8484}
8585
8686# on Solaris, check if we're using gcc or g++
87+ define(COMPILER = " " )
8788if (Sys.info()[[" sysname" ]] == " SunOS" ) {
8889 cxx <- r_cmd_config(" CXX" )
8990 version <- system(paste(cxx , " --version" ), intern = TRUE )
9091 for (compiler in c(" gcc" , " g++" )) {
9192 if (any(grepl(compiler , version , fixed = TRUE ))) {
92- define(COMPILER = " compiler= gcc" )
93+ define(COMPILER = " gcc" )
9394 }
9495 }
9596}
97+
You can’t perform that action at this time.
0 commit comments