From patchwork Wed Aug 14 17:55:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1147161 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="rnFC6MyK"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 467y1b11Wtz9s3Z for ; Thu, 15 Aug 2019 03:56:02 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 49AA88771E; Wed, 14 Aug 2019 17:55:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K321g0+Fs6VQ; Wed, 14 Aug 2019 17:55:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id AEFEA86D16; Wed, 14 Aug 2019 17:55:57 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id F158B1BF45A for ; Wed, 14 Aug 2019 17:55:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EE27B86974 for ; Wed, 14 Aug 2019 17:55:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BmITqNcDtcWx for ; Wed, 14 Aug 2019 17:55:55 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by whitealder.osuosl.org (Postfix) with ESMTPS id 1423785B5D for ; Wed, 14 Aug 2019 17:55:55 +0000 (UTC) Received: by mail-wm1-f52.google.com with SMTP id m125so45150wmm.3 for ; Wed, 14 Aug 2019 10:55:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GSVzfDlSUnSTsTxIGA6juQrbCFAerJtEjVBuhn5PCzs=; b=rnFC6MyKshd38vgr2mXR55yz2/Gofxk7YOkiKXkY/jdt0rvqJuYBSaOqPi419hqrkk BK2JTkMzicKtDTscJfRbkrbNeBMAxye0tqMmGRVj7wc7LxDkaZL9FSME4GAwmpJUYz6X heYb8Q3i11jEoA+oy2YReJOJ/bC+JiXQX/qjE5ZbjW2CcFlBIeQ6d3X7welTRrpmv3aV 7q71JITD2Mauv/9osg8qA2YEIdUIqJ/ZOwqnlrHib65GDsMmiqgR4XWkpbwAHEny+zOO Km82YTtSlj3sfB3zfZ3K62NhbykEdv4gABSjRLXpbihIZJ9fT94Ywwk8UHr30kMug5KE rGkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GSVzfDlSUnSTsTxIGA6juQrbCFAerJtEjVBuhn5PCzs=; b=qFOFl7O4mW4M6BtEpe6k5vRHC+wH0v4zlvgJKQa8AoAVwAQc5OMRTji13O05BxQnIf 2dtMgLimphljbBu19IwsAGGwbLjkubHkqig7pviOSH2gelldt2vYzpWGCg/TyDSWZwZ8 wYLS5tSb8c5ZUJVRBIvm63+NEL4qY65Z+bMxBsjn27F+vJxwlplLPX0mUZF80gPOC7SQ QGIBItGPIJOyhFaHyjcsT55ttLbreVxDD8xlfflSQZRn+xWvp1oSD9ffFSfiZYsTnhrl AXvUYSYxCPagBu9GLLofFQRsR3LuFPJcTyCsvEtjMH14mLurxcwM4eUoRQN3unMQYrZj O1Ig== X-Gm-Message-State: APjAAAUF5fKP8Jr+OTRaXxKmaM5jOl/TlDYa12sHCCYeLE7deQASKOWM eOTwaqSynDQ9baFKOVg0ksOxlt6s X-Google-Smtp-Source: APXvYqxqZYB6Vrke2SuNuAJE5g+g7yeGeDOzhCRaZn9tPpa07h83VgBXHbSFGInXjerYfXHporu1fw== X-Received: by 2002:a1c:be19:: with SMTP id o25mr358207wmf.54.1565805353190; Wed, 14 Aug 2019 10:55:53 -0700 (PDT) Received: from kali.home (lfbn-ren-1-605-248.w81-53.abo.wanadoo.fr. [81.53.181.248]) by smtp.gmail.com with ESMTPSA id r123sm254956wme.7.2019.08.14.10.55.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Aug 2019 10:55:52 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Wed, 14 Aug 2019 19:55:45 +0200 Message-Id: <20190814175546.14670-3-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814175546.14670-1-fontaine.fabrice@gmail.com> References: <20190814175546.14670-1-fontaine.fabrice@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 3/4] package/libpri: add -fPIC X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Yann E . MORIN" , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes: - https://bugs.buildroot.org/show_bug.cgi?id=11961 [Retrieved (and updated to keep line under 80 characters) from: https://bugs.buildroot.org/show_bug.cgi?id=11961] Signed-off-by: Fabrice Fontaine --- package/libpri/libpri.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/libpri/libpri.mk b/package/libpri/libpri.mk index 2e2d0e8a6c..e1fa2abcf5 100644 --- a/package/libpri/libpri.mk +++ b/package/libpri/libpri.mk @@ -33,7 +33,8 @@ endif LIBPRI_UTILS = pridump pritest rosetest testprilib define LIBPRI_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ + $(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS) -fPIC" -C $(@D) \ $(LIBPRI_LIBS) $(LIBPRI_UTILS) endef