From patchwork Fri Jun 16 03:32:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 776545 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wpmH90KYzz9s8J for ; Fri, 16 Jun 2017 13:35:49 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id F094D30B6E; Fri, 16 Jun 2017 03:35:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U2r95ymmcokJ; Fri, 16 Jun 2017 03:35:42 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 793CF30B8D; Fri, 16 Jun 2017 03:35:25 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 667EF1C27D7 for ; Fri, 16 Jun 2017 03:34:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 5AE2689FF2 for ; Fri, 16 Jun 2017 03:34:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pJ6Utlzcq3nN for ; Fri, 16 Jun 2017 03:34:48 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mx.tkos.co.il (guitar.tcltek.co.il [192.115.133.116]) by hemlock.osuosl.org (Postfix) with ESMTPS id 35AFE89FC5 for ; Fri, 16 Jun 2017 03:34:47 +0000 (UTC) Received: from tarshish.tkos.co.il (unknown [10.0.8.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPSA id 7B2694407CA; Fri, 16 Jun 2017 06:34:42 +0300 (IDT) From: Baruch Siach To: buildroot@busybox.net Date: Fri, 16 Jun 2017 06:32:55 +0300 Message-Id: <87422f222dc219a098bf8189c9214eac0f59074b.1497583686.git.baruch@tkos.co.il> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: Subject: [Buildroot] [PATCH 10/14] e2fsprogs: don't link with librt X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Buildroot no longer supports toolchains with glibc older than 2.17, so there is no need to link with librt for clock_* system calls. Signed-off-by: Baruch Siach Reviewed-by: "Yann E. MORIN" --- .../0002-MCONFIG.in-handle-CLOCK_GETTIME_LIB.patch | 35 ---------------------- 1 file changed, 35 deletions(-) delete mode 100644 package/e2fsprogs/0002-MCONFIG.in-handle-CLOCK_GETTIME_LIB.patch diff --git a/package/e2fsprogs/0002-MCONFIG.in-handle-CLOCK_GETTIME_LIB.patch b/package/e2fsprogs/0002-MCONFIG.in-handle-CLOCK_GETTIME_LIB.patch deleted file mode 100644 index bd86c4e21a3d..000000000000 --- a/package/e2fsprogs/0002-MCONFIG.in-handle-CLOCK_GETTIME_LIB.patch +++ /dev/null @@ -1,35 +0,0 @@ -From b5baf15b36107925186d89af9097b4b8e2d7cad6 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 21 Sep 2016 08:38:21 +0200 -Subject: [PATCH] MCONFIG.in: handle CLOCK_GETTIME_LIB - -Commit 62bc243f1bfe623312a350e4cd0d2e17a69aac45 ("fuse2fs: might need -librt") added a check for the clock_gettime() to verify whether linking -with the librt library is needed or not to use this function. - -However, this commit forgot the change in MCONFIG.in that allows to -define the make variable CLOCK_GETTIME_LIB from the CLOCK_GETTIME_LIB -variable substituted by the configure script. Due to this, from a make -perspective $(CLOCK_GETTIME_LIB) is always empty, and we get link -failure on platforms where clock_gettime() is available in librt. - -Signed-off-by: Thomas Petazzoni ---- - MCONFIG.in | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/MCONFIG.in b/MCONFIG.in -index e82963d..9ba9ce2 100644 ---- a/MCONFIG.in -+++ b/MCONFIG.in -@@ -125,6 +125,7 @@ LIBSUPPORT = $(LIBINTL) $(LIB)/libsupport@STATIC_LIB_EXT@ - LIBBLKID = @LIBBLKID@ @PRIVATE_LIBS_CMT@ $(LIBUUID) - LIBINTL = @LIBINTL@ - SYSLIBS = @LIBS@ -+CLOCK_GETTIME_LIB = @CLOCK_GETTIME_LIB@ - DEPLIBSS = $(LIB)/libss@LIB_EXT@ - DEPLIBCOM_ERR = $(LIB)/libcom_err@LIB_EXT@ - DEPLIBUUID = @DEPLIBUUID@ --- -2.7.4 -