Linux Device Mapper development
 help / color / mirror / Atom feed
* [PATCH] multipath-tools: replace -shared with $(SHARED_FLAGS) in Makefile
@ 2016-07-18 15:12 Xose Vazquez Perez
  2016-07-18 15:36 ` Xose Vazquez Perez
  0 siblings, 1 reply; 2+ messages in thread
From: Xose Vazquez Perez @ 2016-07-18 15:12 UTC (permalink / raw)
  Cc: device-mapper development, Xose Vazquez Perez

Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: device-mapper development <dm-devel@redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
---
 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
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] multipath-tools: replace -shared with $(SHARED_FLAGS) in Makefile
  2016-07-18 15:12 [PATCH] multipath-tools: replace -shared with $(SHARED_FLAGS) in Makefile Xose Vazquez Perez
@ 2016-07-18 15:36 ` Xose Vazquez Perez
  0 siblings, 0 replies; 2+ messages in thread
From: Xose Vazquez Perez @ 2016-07-18 15:36 UTC (permalink / raw)
  Cc: device-mapper development

On 07/18/2016 05:12 PM, Xose Vazquez Perez wrote:
> Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
> Cc: device-mapper development <dm-devel@redhat.com>
> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
> ---
>  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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-18 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-18 15:12 [PATCH] multipath-tools: replace -shared with $(SHARED_FLAGS) in Makefile Xose Vazquez Perez
2016-07-18 15:36 ` Xose Vazquez Perez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox