From patchwork Fri Aug 12 17:12:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 9277511 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7344160780 for ; Fri, 12 Aug 2016 17:15:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5EADF28AA6 for ; Fri, 12 Aug 2016 17:15:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4FCAD28ABE; Fri, 12 Aug 2016 17:15:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 196BE28AA6 for ; Fri, 12 Aug 2016 17:15:47 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u7CHCFlq015858; Fri, 12 Aug 2016 13:12:16 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u7CHCDIT003838 for ; Fri, 12 Aug 2016 13:12:13 -0400 Received: from mx1.redhat.com (ext-mx02.extmail.prod.ext.phx2.redhat.com [10.5.110.26]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7CHCDIL031082 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 12 Aug 2016 13:12:13 -0400 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 58F64335F7F for ; Fri, 12 Aug 2016 17:12:12 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id i5so4007191wmg.2 for ; Fri, 12 Aug 2016 10:12:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=wWYBeRU9Gn3J9yt2dN7w1TJes2v9Y5U8azbfj+mxBJE=; b=Lh01qznfqiY2lYLQDJKyQS1QpVIHfBL05saTluvW6FkoPxeP1EThjbEn+8KjVCIKfc ion3/uTS9ZJjLbJrJ0INGywpC3OFT/m0d+8Os7YG7x/rmdu0YXcJfOnMjMjbXwuLv2n3 tODTbgyRiEr0qSxmRykhMlMZGsnMVMhWmegaqgnYd7W/yb3Rt0P2Qz07GHcDdqRlhy3g PvrRudzj2BgsE/Yo3gvZG+LhDptFyRrFB0EjmbBdjAA1IACt1zkHiaToIT+b818mWWcs Q5ifSUFIn562DdnRs2B5KCiFUTWConWY/5uJk48/k3Kq9Shk644phlNXiSnA78jYBfhm R5Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=wWYBeRU9Gn3J9yt2dN7w1TJes2v9Y5U8azbfj+mxBJE=; b=aqHrxMMQY1tMmJ7UO1rgBcPliv3jpa5cD5j3G6PCOP0Df7JvYchmu97MjVfiOsrpXg aYlI3+mwDQNnkKWOYL7oqCTZZEFyPnmuUtnwdOAR1uyKLTHNo0VFYt0B700jyeO3z+kB dZhhCZgLE/bHu4UoJsncwD+BbR3icUnN8N5CdLN00dn+RHg6vzcaz1wygKMJfxpsJPTk yrO0dDQM5HM0alNKX9ufL2Z0pO1HMYGvzmZVt0ZwDyKouZGf7acW7Eeurmwa+oVvOTi2 5R4WKQ1fdIP6eG/rsrUA+ee2jLdT/zvdWqPp0bPhVkGWPKpRn83cCHbfqjawFABTPmaU DUlA== X-Gm-Message-State: AEkoouvRp24XsxixTqkiOc52OR+mkc6obvHdccbvGMA+/sIpTeF1w4+FBAass/noEuGlZg== X-Received: by 10.194.175.106 with SMTP id bz10mr16381986wjc.42.1471021931060; Fri, 12 Aug 2016 10:12:11 -0700 (PDT) Received: from localhost ([31.221.181.22]) by smtp.gmail.com with ESMTPSA id d80sm3393495wmd.14.2016.08.12.10.12.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Aug 2016 10:12:10 -0700 (PDT) From: Xose Vazquez Perez To: Date: Fri, 12 Aug 2016 19:12:07 +0200 Message-Id: <1471021927-8662-1-git-send-email-xose.vazquez@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Fri, 12 Aug 2016 17:12:12 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Fri, 12 Aug 2016 17:12:12 +0000 (UTC) for IP:'74.125.82.66' DOMAIN:'mail-wm0-f66.google.com' HELO:'mail-wm0-f66.google.com' FROM:'xose.vazquez@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.02 (BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS) 74.125.82.66 mail-wm0-f66.google.com 74.125.82.66 mail-wm0-f66.google.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.26 X-loop: dm-devel@redhat.com Cc: device-mapper development , Xose Vazquez Perez Subject: [dm-devel] [PATCH] multipath-tools: add missing group of options in Makefiles X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Virus-Scanned: ClamAV using ClamSMTP And remove "-g", it's already in OPTFLAG Cc: Christophe Varoqui Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- kpartx/Makefile | 2 +- libmpathpersist/Makefile | 2 +- mpathpersist/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kpartx/Makefile b/kpartx/Makefile index 75b7606..6f32680 100644 --- a/kpartx/Makefile +++ b/kpartx/Makefile @@ -21,7 +21,7 @@ EXEC = kpartx all: $(EXEC) $(EXEC): $(OBJS) - $(CC) $(OBJS) -o $(EXEC) $(LDFLAGS) + $(CC) $(CFLAGS) $(OBJS) -o $(EXEC) $(LDFLAGS) $(GZIP) $(EXEC).8 > $(EXEC).8.gz install: $(EXEC) $(EXEC).8 diff --git a/libmpathpersist/Makefile b/libmpathpersist/Makefile index 1c4b2e1..6e43427 100644 --- a/libmpathpersist/Makefile +++ b/libmpathpersist/Makefile @@ -15,7 +15,7 @@ all: $(LIBS) $(LIBS): $(CC) -c $(CFLAGS) *.c - $(CC) $(SHARED_FLAGS) $(LIBDEPS) -Wl,-soname=$@ $(CFLAGS) -o $@ $(OBJS) + $(CC) $(LDFLAGS) $(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 diff --git a/mpathpersist/Makefile b/mpathpersist/Makefile index d545514..b6ab730 100644 --- a/mpathpersist/Makefile +++ b/mpathpersist/Makefile @@ -12,7 +12,7 @@ OBJS = main.o all: $(EXEC) $(EXEC): $(OBJS) - $(CC) -g $(OBJS) -o $(EXEC) $(LDFLAGS) $(CFLAGS) + $(CC) $(OBJS) -o $(EXEC) $(LDFLAGS) $(CFLAGS) $(GZIP) $(EXEC).8 > $(EXEC).8.gz install: