diff options
-rw-r--r-- | compiler_wrapper/command.go | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/compiler_wrapper/command.go b/compiler_wrapper/command.go index 69578597..e6ea6690 100644 --- a/compiler_wrapper/command.go +++ b/compiler_wrapper/command.go @@ -24,15 +24,8 @@ type command struct { } func newProcessCommand() *command { - // This is a workaround for the fact that ld.so does not support - // passing in the executable name when ld.so is invoked as - // an executable (crbug/1003841). - path := os.Getenv("LD_ARGV0") - if path == "" { - path = os.Args[0] - } return &command{ - Path: path, + Path: os.Args[0], Args: os.Args[1:], } } |