Re: [PATCH v3 2/2] kbuild: Don't mess with the .cache.mk when root

From: Ingo Molnar
Date: Wed Mar 14 2018 - 03:23:28 EST



* Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> If Ingo wants to build as root, maybe we could even make him set some
> environment flag to avoid errors.

I only build as root infrequently, but I think PeterZ does it more frequently?

Distro package builds are also often done as root.

I don't mind warnings, etc. - I only objected to the workaround of silently
turning off a build optimization when root.

Thanks,

Ingo