From patchwork Fri Jul 8 16:28:20 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: 9221393 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 96F8060572 for ; Fri, 8 Jul 2016 16:32:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8827D26223 for ; Fri, 8 Jul 2016 16:32:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7CD822624C; Fri, 8 Jul 2016 16:32:54 +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 mx6-phx2.redhat.com (mx6-phx2.redhat.com [209.132.183.39]) (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 263592623D for ; Fri, 8 Jul 2016 16:32:50 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx6-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u68GTNo2041226; Fri, 8 Jul 2016 12:29:23 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u68GT6FE025310 for ; Fri, 8 Jul 2016 12:29:06 -0400 Received: from mx1.redhat.com (ext-mx08.extmail.prod.ext.phx2.redhat.com [10.5.110.32]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u68GT65D028999 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 8 Jul 2016 12:29:06 -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 27C27C01605D; Fri, 8 Jul 2016 16:29:05 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id x83so7903686wma.3; Fri, 08 Jul 2016 09:29:05 -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=jv7IbrXosJhxvB1p0vlGnLDa8SVEitr1lZx/DKxTusk=; b=X8MrJt7APVfbLn4vBxyot4x3UcuiZZXbENz1PMgtnRlceD5s1ITdsxhIgiLdRwMMy0 W9Kp0vllHvumoSOgc3MTkDbPKyxI1+LG/Ga3Urw6axdkZKfyxI42fBytorFnPSN6slWn /KoxOdnoIJMhKcRYyPrCYyGTEmMbKy0dFXWWBE6wHuwCdQU6tVXMRbj3v08FmS95gDmD H4eWHztmvLvrEN8EByhPaDJd5I0q8iPGknfig8BzCcEnkgR6ts1HqSRIlIrr3pTqvdJ3 Fp+WhbXcUkzRn8A+W+cuqvn+DPwYI9A6/qcibiH3fv5VMpSDmQg9by2cRixtZZonmXaT rVOw== 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=jv7IbrXosJhxvB1p0vlGnLDa8SVEitr1lZx/DKxTusk=; b=FmqtlGFl+c1XF/cn7W1qKic7tiTPHMrAMM6mxbkKdgdmuicVJ14bQnExkCHwKxFlOd o6XEasNv/jblYZDaY2ZGFUK71kB7eCxdBqv05TZauCNWxCly0vlOXNRclbxoGff5DHX9 7OSK/EVXDF6C0tNVUmBLeamT1lGfJ/HFJm+czVDESjubrrgrk6IQS1Ql/wt9zRfwBVpK tdkWrXYRX1aLCoIqV/+KkJ8L2QxfNQYU3ErLw7TiMb5VI3PikGmo71UajYdiq6TZsvjQ cQr/ciqsQuoKdRZIBGPEDp8mw5TZGjkDy4xAS8YRljRPP9SrYFAptCd51pv94tvf8rdZ b0yg== X-Gm-Message-State: ALyK8tJMOz/Vfnapd+wqenAxMUV+VnslybJD/ObO3ci2wPAKodG7iSOcefZP/fkHfWh78Q== X-Received: by 10.28.22.144 with SMTP id 138mr4472347wmw.77.1467995343780; Fri, 08 Jul 2016 09:29:03 -0700 (PDT) Received: from localhost ([31.221.141.216]) by smtp.gmail.com with ESMTPSA id p6sm3753307wme.22.2016.07.08.09.29.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jul 2016 09:29:03 -0700 (PDT) From: Xose Vazquez Perez To: Date: Fri, 8 Jul 2016 18:28:20 +0200 Message-Id: <1467995301-14226-3-git-send-email-xose.vazquez@gmail.com> In-Reply-To: <1467995301-14226-1-git-send-email-xose.vazquez@gmail.com> References: <1467995301-14226-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.32]); Fri, 08 Jul 2016 16:29:05 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Fri, 08 Jul 2016 16:29:05 +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.26 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.32 X-loop: dm-devel@redhat.com Cc: Mathieu Trudel-Lapierre , Dragan Stancevic , device-mapper development , Ritesh Raj Sarraf , Xose Vazquez Perez , Louis Bouchard Subject: [dm-devel] [PATCH 2/3] multipath-tools: merge OPTFLAGS into CFLAGS 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 OPTFLAGS is not used anywhere, but maybe it's intrusive for distributions. Cc: Mathieu Trudel-Lapierre Cc: Dragan Stancevic Cc: Louis Bouchard Cc: Ritesh Raj Sarraf Cc: Benjamin Marzinski Cc: Hannes Reinecke Cc: Christophe Varoqui Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- Makefile.inc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile.inc b/Makefile.inc index 01d743c..b7077fc 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -60,10 +60,9 @@ RM = rm -f LN = ln -sf INSTALL_PROGRAM = install -OPTFLAGS = -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall \ - -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 - -CFLAGS = $(OPTFLAGS) -fPIC -DLIB_STRING=\"${LIB}\" -DRUN_DIR=\"${RUN}\" +CFLAGS = -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall \ + -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 \ + -fPIC -DLIB_STRING=\"${LIB}\" -DRUN_DIR=\"${RUN}\" SHARED_FLAGS = -shared %.o: %.c