aboutsummaryrefslogtreecommitdiff
path: root/compiler_wrapper/sysroot_flag.go
diff options
context:
space:
mode:
Diffstat (limited to 'compiler_wrapper/sysroot_flag.go')
-rw-r--r--compiler_wrapper/sysroot_flag.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler_wrapper/sysroot_flag.go b/compiler_wrapper/sysroot_flag.go
index 67625b3b..501fb20e 100644
--- a/compiler_wrapper/sysroot_flag.go
+++ b/compiler_wrapper/sysroot_flag.go
@@ -9,7 +9,7 @@ import (
"strings"
)
-func processSysrootFlag(builder *commandBuilder) string {
+func processSysrootFlag(builder *commandBuilder) {
fromUser := false
for _, arg := range builder.args {
if arg.fromUser && strings.HasPrefix(arg.value, "--sysroot=") {
@@ -28,5 +28,4 @@ func processSysrootFlag(builder *commandBuilder) string {
if !fromUser {
builder.addPreUserArgs("--sysroot=" + sysroot)
}
- return sysroot
}