Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b79b508

Browse filesBrowse files
committed
fixup
1 parent b315a03 commit b79b508
Copy full SHA for b79b508

File tree

Expand file treeCollapse file tree

2 files changed

+6
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+6
-2
lines changed

‎src/Makevars.in

Copy file name to clipboardExpand all lines: src/Makevars.in
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ ifeq ($(USE_TBB), Windows)
106106
endif
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
112114
ifeq ($(USE_TBB), SunOS)

‎tools/config/configure.R

Copy file name to clipboardExpand all lines: tools/config/configure.R
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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 = "")
8788
if (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+

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.