[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian policy recommended snippet prevents building packages from external Makefile




On 04/14/2016 03:27 PM, Jakub Wilk wrote:
> * Emmanuel Kasper <e.kasper@proxmox.com>, 2016-04-14, 13:29:
>> in the Debian policy 4.9.1 we recommend to add build flags as such:
>>
>> MAKEFLAGS += -j$(NUMJOBS)
>>
>> and I guess most packages, like tar,  will then call
>>
>> $(MAKE) $(MAKEFLAGS)
> 
> You don't need to pass $(MAKEFLAGS) here.
> 
> And, as you noticed, you shouldn't, because it's not always suitable as
> arguments for make.
> 

OK thanks for the hint, I am going to investigate this in details.

The policy document how to make set the make flags for parallel
building, but do not go further shows how to call these flags, so the
policy is OK.


Reply to: