[klibc] [PATCH] klibc: reproducible builds

Maciej Żenczykowski zenczykowski at gmail.com
Wed Oct 20 03:05:21 PDT 2010


Let's try that again, maybe this time the mail will be delivered.

>>  KLIBCAR          := $(AR)
>> -KLIBCRANLIB      := $(RANLIB)
>> +KLIBCAR_cq       := $(KLIBCAR) $(if $(KBUILD_REPRODUCIBLE),Dcq,cq)
>> +KLIBCAR_crs      := $(KLIBCAR) $(if $(KBUILD_REPRODUCIBLE),Dcrs,crs)
>> +KLIBCAR_cru      := $(KLIBCAR) $(if $(KBUILD_REPRODUCIBLE),Dcr,cru)
>
> Did you mean to drop 'u' here?

Yeah, Dcru is not valid.

D means skip (don't generate) timestamps, u means use them (ie.
add/replace only if newer then existing copy), as such you can't
combine them...

This makes using a macro, like you suggested, hard...

Maciej



More information about the klibc mailing list