We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b868d05 + 9409393 commit 7c5f2d9Copy full SHA for 7c5f2d9
1 file changed
R/plugin.R
@@ -21,12 +21,14 @@
21
# that the linker needs or empty string if it is unknown.
22
.getLinkerOptions <- function(cmd) {
23
if (cmd != "") {
24
- output <- system(paste0(cmd, " --version"), intern=TRUE)
+ output <- system(paste0(cmd, " --version 2>&1"), intern=TRUE)
25
26
if (grepl("^GNU ld", output[1])) {
27
return("-S")
28
} else if (grepl("^GNU gold", output[1])) {
29
30
+ } else if (grepl("Solaris Link Editors", output[1])) {
31
+ return("-zstrip-class=debug")
32
}
33
34
0 commit comments