From patchwork Thu Jun 30 13:42:13 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: 9207587 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 35E2160752 for ; Thu, 30 Jun 2016 13:46:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 260532867D for ; Thu, 30 Jun 2016 13:46:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1A9332867E; Thu, 30 Jun 2016 13:46:31 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com [209.132.183.37]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9777028679 for ; Thu, 30 Jun 2016 13:46:30 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u5UDggUF015285; Thu, 30 Jun 2016 09:42:42 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u5UDgedu009426 for ; Thu, 30 Jun 2016 09:42:40 -0400 Received: from mx1.redhat.com (ext-mx09.extmail.prod.ext.phx2.redhat.com [10.5.110.38]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u5UDgeKc004586 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 30 Jun 2016 09:42:40 -0400 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) (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 3A7C66408A for ; Thu, 30 Jun 2016 13:42:34 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id r201so23002176wme.0 for ; Thu, 30 Jun 2016 06:42:34 -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:in-reply-to:references; bh=/wPZd8ljbW3Ltw5Yc2leWaNHATXT7LuzjRHvt3uZfJk=; b=PgsnEfFefIIaL5OgXyzzBnxYH6EfzlozQfu/ONM9tdljjRY4RNO2of8VtWvF3KFs+N yFQFW6TWD2UTg6dCZcug/WJx7IvBrkwMYibJnbEEVsCyiobG44W1eNmdSLLFoyRvQ6+9 z2OMi9ersgxFZ/rx10/prkXHO+CNIX9KseUhMutJvLT83D13c0SzgGfNMyqfGHmjIlkr p9yoEKAMIAzM74KoTv/zMCJhGtO1kH0565M5p6w11jHc3kYxQrH4R3tY7YW4ROdQBp5c /fz/5PtU7nQdIoU91TAhnmTY66PlTdj711Criwb64P9TZxTxNGSJFaqvVIAEGwC8geLe SeDw== 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:in-reply-to :references; bh=/wPZd8ljbW3Ltw5Yc2leWaNHATXT7LuzjRHvt3uZfJk=; b=SzHQOhgPEktgboNZw4+hR3my6wPpmZzC7N1oSUY0ToySESqCFhGUFa2Y2li/ltXUal iSA19E0gFMZlwd9vwfVmxbyduQErSa5BPliVvy23SU242FW5aLBItT46dWdhAqU7tV/n MXB8qoQZeZXOgEY3TENH+E30QIS5DgSVapTgq/7GEKGDAKDOsIfr/0WVf9UVBh+Z73b3 8lMaKaGJLT0KKVZDzNmJ5qECHx1AMLhEMUpbwWkw96M2zu7CIVmekmX7OjrbG6dzij3t DdsA8AKKdS3AKYF/WrFL+pq+RbsQCFgoE//DSm2p5sA4sP5lsWtMF9t5m6LmJ7lmrUE+ GijQ== X-Gm-Message-State: ALyK8tImORTPGBDX8jAdbDtJWlwjEhOA49Uu6+LHHGfvZswGoBuGnwNPE/3/viKy1zk9JQ== X-Received: by 10.194.165.71 with SMTP id yw7mr13908659wjb.127.1467294152945; Thu, 30 Jun 2016 06:42:32 -0700 (PDT) Received: from localhost ([46.222.154.143]) by smtp.gmail.com with ESMTPSA id cx8sm2723280wjb.37.2016.06.30.06.42.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jun 2016 06:42:32 -0700 (PDT) From: Xose Vazquez Perez To: Date: Thu, 30 Jun 2016 15:42:13 +0200 Message-Id: <1467294136-19275-3-git-send-email-xose.vazquez@gmail.com> In-Reply-To: <1467294136-19275-1-git-send-email-xose.vazquez@gmail.com> References: <1467294136-19275-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.38]); Thu, 30 Jun 2016 13:42:34 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 30 Jun 2016 13:42:34 +0000 (UTC) for IP:'74.125.82.68' DOMAIN:'mail-wm0-f68.google.com' HELO:'mail-wm0-f68.google.com' FROM:'xose.vazquez@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.12 (BAYES_50, DCC_REPUT_13_19, 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.68 mail-wm0-f68.google.com 74.125.82.68 mail-wm0-f68.google.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.38 X-loop: dm-devel@redhat.com Cc: device-mapper development , Xose Vazquez Perez Subject: [dm-devel] [PATCH 2/5] multipath-tools: merge RPM_OPT_FLAGS into OPTFLAGS 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 Cc: Christophe Varoqui Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- Makefile.inc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile.inc b/Makefile.inc index d7fc444..c4bea67 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -59,11 +59,9 @@ mpathcmddir = $(TOPDIR)/libmpathcmd GZIP = gzip -9 -c INSTALL_PROGRAM = install -ifndef RPM_OPT_FLAGS - RPM_OPT_FLAGS = -O2 -g -pipe -Wformat-security -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -endif +OPTFLAGS = -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall \ + -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -OPTFLAGS = $(RPM_OPT_FLAGS) -Wunused -Wstrict-prototypes CFLAGS = $(OPTFLAGS) -fPIC -DLIB_STRING=\"${LIB}\" -DRUN_DIR=\"${RUN}\" SHARED_FLAGS = -shared