Re: [PATCH] multipath-tools: replace -shared with $(SHARED_FLAGS) in Makefile

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

 



On 07/18/2016 05:12 PM, Xose Vazquez Perez wrote:
> Cc: Christophe Varoqui <christophe.varoqui@xxxxxxxxxxx>
> Cc: device-mapper development <dm-devel@xxxxxxxxxx>
> Signed-off-by: Xose Vazquez Perez <xose.vazquez@xxxxxxxxx>
> ---
>  libmpathpersist/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libmpathpersist/Makefile b/libmpathpersist/Makefile
> index a2dd7ed..93e106d 100644
> --- a/libmpathpersist/Makefile
> +++ b/libmpathpersist/Makefile
> @@ -19,7 +19,7 @@ all: $(LIBS)
>  
>  $(LIBS):
>  	$(CC) -Wall -fPIC -c $(CFLAGS) *.c
> -	$(CC)  -shared $(LIBDEPS) -Wl,-soname=$@ $(CFLAGS) -o $@ $(OBJS)
> +	$(CC) $(SHARED_FLAGS) $(LIBDEPS) -Wl,-soname=$@ $(CFLAGS) -o $@ $(OBJS)
>  	$(LN) $(LIBS) $(DEVLIB)
>  	$(GZIP) mpath_persistent_reserve_in.3 > mpath_persistent_reserve_in.3.gz
>  	$(GZIP) mpath_persistent_reserve_out.3 > mpath_persistent_reserve_out.3.gz
> 

DROP this one, DUPLICATE !!!

Thank you.

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux