From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xose Vazquez Perez Subject: Re: [PATCH] multipath-tools: replace -shared with $(SHARED_FLAGS) in Makefile Date: Mon, 18 Jul 2016 17:36:14 +0200 Message-ID: <69fb937b-0bda-5221-bcdd-7e76fd8f2556@gmail.com> References: <1468854746-11614-1-git-send-email-xose.vazquez@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1468854746-11614-1-git-send-email-xose.vazquez@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com Cc: device-mapper development List-Id: dm-devel.ids On 07/18/2016 05:12 PM, Xose Vazquez Perez wrote: > Cc: Christophe Varoqui > Cc: device-mapper development > Signed-off-by: Xose Vazquez Perez > --- > 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.