Re: [PATCH] fix dynamic engine build

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

 



On 11/6/20 11:41 AM, Eric Sandeen wrote:
> Builds with --dynamic-libengines are currently broken, because the rule
> to build the libraries was moved out of the template that creates them:
> 
> make: *** No rule to make target 'engines/libpmem.so', needed by 'all'.  Stop.
> make: *** Waiting for unfinished jobs....
> 
> Fix this by moving the rule back into the template, calling the template
> to create rules only after FIO_CFLAGS has been incorporated into CFLAGS,
> and using CFLAGS + -fPIC in that rule rather than FIO_CFLAGS.
> 
> Fixes: 8a2cf08d29ac ("Makefile: introduce FIO_CFLAGS")
> Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
> ---
> 
> I think this is correct, but I would appreciate a review from Sitsofe.


NAK

breaks built-in engines.  Argh.




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux