From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4AE8A139083 for ; Wed, 20 Dec 2017 22:54:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C337E100D; Wed, 20 Dec 2017 22:54:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6DC2FE100D for ; Wed, 20 Dec 2017 22:54:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9A11E34085A for ; Wed, 20 Dec 2017 22:54:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EB1E1AE70 for ; Wed, 20 Dec 2017 22:54:16 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1513810396.10b971c5299a4e4303eab5b594a96636cd234c98.robbat2@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_compile.sh X-VCS-Directories: / X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 10b971c5299a4e4303eab5b594a96636cd234c98 X-VCS-Branch: master Date: Wed, 20 Dec 2017 22:54:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 10d8a3ea-7816-4d57-b0bb-a783a6793ef8 X-Archives-Hash: 76fe55f5aa9ea3769261c9a842584298 commit: 10b971c5299a4e4303eab5b594a96636cd234c98 Author: Robin H. Johnson gentoo org> AuthorDate: Wed Dec 20 22:53:16 2017 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Wed Dec 20 22:53:16 2017 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=10b971c5 gen_compile: fix dmraid lvm linking This will hopefully fix dmraid linking against newer LVM. Bug: https://bugs.gentoo.org/631368 Suggested-by: Ian Stakenvicius gentoo.org> Signed-off-by: Robin H. Johnson gentoo.org> gen_compile.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gen_compile.sh b/gen_compile.sh index 02f3de5..c287054 100755 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -632,7 +632,8 @@ compile_dmraid() { CFLAGS="-I${TEMP}/lvm/include" \ DEVMAPPEREVENT_CFLAGS="-I${TEMP}/lvm/include" \ CPPFLAGS="-I${TEMP}/lvm/include" \ - LIBS="-ldevmapper" \ + LIBS="-ldevmapper -lm -lrt -lpthread" \ + LDFLAGS='-Wl,--no-as-needed' \ ./configure --enable-static_link \ --with-devmapper-prefix="${TEMP}/lvm" \ --prefix=${TEMP}/dmraid >> ${LOGFILE} 2>&1 ||