[lkml]   [2022]   [Dec]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 10/14] KVM: selftests: Include before consuming $(CC)
On 12/13/22 01:16, Sean Christopherson wrote:
> Include before consuming $(CC) and document that overwrites
> $(CC) unless make was invoked with -e or $(CC) was specified after make
> (which apparently makes the environment override the Makefile?!?!).

Yes, it does. In projects that don't use configure or similar, you
might have seen

CFLAGS = -O2 -g

to be overridden with "make CFLAGS=-g" if optimization is undesirable.


> Including after using it for probing, e.g. for -no-pie, can lead
> to weirdness.

 \ /
  Last update: 2023-03-26 23:19    [W:0.176 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site