On 5/6/20 6:42 PM, Richard Biener wrote:
Perfect if you checked freeargv is happy with a NULL argument!
Yes, it is.
Martin
On Wed, May 6, 2020 at 3:09 PM Martin Liška wrote:
>
> On 5/6/20 2:52 PM, Richard Biener wrote:
> > On Wed, May 6, 2020 at 2:08 PM Martin Liška wrote:
> >>
> >> Hi.
> >>
> >> The patch splits arguments in getenv ("MAKE") so that one can use:
> >>
> >> $ MAKE="make -s" gcc main.o -flto=16
> >>
> >
variable.
---
gcc/lto-wrapper.c | 35 ---
1 file changed, 24 insertions(+), 11 deletions(-)
>From d2ded95342f543c800215e4e9e2d66332183bf8b Mon Sep 17 00:00:00 2001
From: Martin Liska
Date: Wed, 6 May 2020 13:59:23 +0200
Subject: [PATCH] lto-wrapper: split argu
On Wed, May 6, 2020 at 2:08 PM Martin Liška wrote:
>
> Hi.
>
> The patch splits arguments in getenv ("MAKE") so that one can use:
>
> $ MAKE="make -s" gcc main.o -flto=16
>
> Right now it fails due to:
> [pid 6004] execve("/home/marxin/Programming/script-misc/make -s", ["make
> -s", "-f", "/tmp/
Hi.
The patch splits arguments in getenv ("MAKE") so that one can use:
$ MAKE="make -s" gcc main.o -flto=16
Right now it fails due to:
[pid 6004] execve("/home/marxin/Programming/script-misc/make -s", ["make -s", "-f",
"/tmp/ccNpRBlZ.mk", "-j16", "all"], 0x4b69b0 /* 82 vars */) = -1 ENOENT (N