From patchwork Fri Aug 12 17:45:01 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: 9277539 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 1601160752 for ; Fri, 12 Aug 2016 17:48:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0A24F28AC5 for ; Fri, 12 Aug 2016 17:48:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F2E7928AC8; Fri, 12 Aug 2016 17:48: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=-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 mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6705128AC5 for ; Fri, 12 Aug 2016 17:48:54 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u7CHjBJP031664; Fri, 12 Aug 2016 13:45:12 -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 u7CHjAtJ007901 for ; Fri, 12 Aug 2016 13:45:10 -0400 Received: from mx1.redhat.com (ext-mx09.extmail.prod.ext.phx2.redhat.com [10.5.110.38]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7CHj97n021472 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 12 Aug 2016 13:45:09 -0400 Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) (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 1B2754E335 for ; Fri, 12 Aug 2016 17:45:07 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id q128so4159181wma.1 for ; Fri, 12 Aug 2016 10:45:07 -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=6lSDoLqf+DAmtLmcp4vraHazU960oKpzwU2bTds1sRs=; b=ruUKcG3c+7UgsXHg7WfW+3h6Xu3u9aTtlLCy8trrmGGq5Gsq3Ujt0Cu1WCNd+kOs1D NwHisStymfx7dKwwecE9pJUKDAB+ICuZwdrcKMjlr+ARHk76EsbY3SRzAnsuI1C80YFj kWICy8Hhm/lMbDRiDf/MIB7CDHOkIqggoz0WIFWlhsCMt5IgNncnQoGR7hWzbITnzAql UjxxoXKE3DfrzLm/zvA3qImgX2glG5M2KjisuSLXTgxF4dNP/Cnv7xutMEb5H5TiVELl Y97wZX97tXGlQZQdMA73YcBHLcdbqwpBCQ+bKeHUUiE6J6xE1qPf1l2gwU9gj7EEVYlD u65g== 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=6lSDoLqf+DAmtLmcp4vraHazU960oKpzwU2bTds1sRs=; b=aGn+Zuyc7N/OFxqhVHK0RybJvDpC1Vk045G62EIXkxbhQX15/ghgG0SgkKbz/LkkjP Z2nWCFT8MM/kY88HqLXEDjYirbhtSPtuiTIlynllSiJc/tyh2u+FdAnwbIiyPh0nO5FC JrYqgkkEJq0yHZQ0q2twq95igtu8JJuMgsLeV4jxzqFPTZrLI0CI+Y2EVlhBjQLFDDIl zFigQr8eCiusxDn33pifWigl7x+OxbXomPQBy6gcsYDuLRx1MuR3Hidu6lloSVCTLqCy LJfzHOHcrlh4shUDnq7kLr5CW1q84EBoDil5BKcdI3Xw7opzhu6jb6R5z+Ww+yBn4jMy +01A== X-Gm-Message-State: AEkoout6P5c2f8pmEbP+6bAq8EQxkoZFXg/SmDzQ7/IhYO3Rbq/TgO4i7NYnCyk8t5KQBQ== X-Received: by 10.28.129.145 with SMTP id c139mr43332wmd.102.1471023905785; Fri, 12 Aug 2016 10:45:05 -0700 (PDT) Received: from localhost ([31.221.181.22]) by smtp.gmail.com with ESMTPSA id m127sm3486912wmm.21.2016.08.12.10.45.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Aug 2016 10:45:05 -0700 (PDT) From: Xose Vazquez Perez To: Date: Fri, 12 Aug 2016 19:45:01 +0200 Message-Id: <1471023901-12515-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]); Fri, 12 Aug 2016 17:45:07 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Fri, 12 Aug 2016 17:45:07 +0000 (UTC) for IP:'74.125.82.67' DOMAIN:'mail-wm0-f67.google.com' HELO:'mail-wm0-f67.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.67 mail-wm0-f67.google.com 74.125.82.67 mail-wm0-f67.google.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 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] multipath-tools: use "+=" instead of only "=" for variables in Makefile 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 --- kpartx/Makefile | 2 +- libmultipath/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kpartx/Makefile b/kpartx/Makefile index 6f32680..8af0dc6 100644 --- a/kpartx/Makefile +++ b/kpartx/Makefile @@ -5,7 +5,7 @@ include ../Makefile.inc CFLAGS += -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -LDFLAGS = -ldevmapper +LDFLAGS += -ldevmapper LIBDM_API_COOKIE = $(shell grep -Ecs '^[a-z]*[[:space:]]+dm_task_set_cookie' /usr/include/libdevmapper.h) diff --git a/libmultipath/Makefile b/libmultipath/Makefile index 3a20f8e..92f130c 100644 --- a/libmultipath/Makefile +++ b/libmultipath/Makefile @@ -9,7 +9,7 @@ LIBS = $(DEVLIB).$(SONAME) CFLAGS += -I$(mpathcmddir) -LIBDEPS = -lpthread -ldl -ldevmapper -ludev -L$(mpathcmddir) -lmpathcmd +LIBDEPS += -lpthread -ldl -ldevmapper -ludev -L$(mpathcmddir) -lmpathcmd ifdef SYSTEMD CFLAGS += -DUSE_SYSTEMD=$(SYSTEMD)