From patchwork Wed May 23 22:39:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 136680 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1456757lji; Wed, 23 May 2018 15:39:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpBipOZ0u60oMN8z9Rg0736d0dqfJjyaZQwL3o2pdUNJ5Uso14HiPJsCidINiAVimA6dX+j X-Received: by 2002:a62:d905:: with SMTP id s5-v6mr4672199pfg.20.1527115185172; Wed, 23 May 2018 15:39:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527115185; cv=none; d=google.com; s=arc-20160816; b=vU1sQn8NqV+9gZTYBcuz1OzRS2L/vGhQ7pXa/dwxz6Jzt1tKxqPBPE8RfztyIzlhrR lb6mTjHN7kGBKhiERZBFF6jpIPFPy8Z7K0R21i6hZU1HOeg0t5Gk+XgD4wesF5QBpddS pqAe7onhBpSOb3N/gcRKGDZNomJxRQa/+9xpX6U4uAYdKQgg0E9gEXqx+nutsKu0/y59 ui32PFBkjtumPMShyG+wDQyN7PthvB2bIruW9caxcRgzvaNaHMLeYBsze/5SW5n6lOm1 y6wyygx/LPSqOh/+hjnDHThspePgIMGII8Hy11h2P6nWC4zwwimH+c1/I+ns/9t1dV50 rofg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=JcQTP76GIBbHzvAPwjBcvMTkKEgWDPzgi2/ENDTxKzw=; b=qfZfChqbXZ4R4D9hbxYOVYzvEwRGMoX3V4l5eLiO0Wa6a4cvp1093rXUB5bzgoby1T Z0Q7pPh3mLnW9V6AxBSactZXjxYwo6MrT98RlArAmPiCygcKU86tr1v3pcF8bCZSNT7e nTTOotgq815g1NB5UFWrZDMgXEfO1y6MJw9ht+X7khfHNQuii1Wx9Y2Rs7o+d+iZSIh7 FfouUWv7s/SBuo0vc03IIsYtrQuriSAwTO39oJaWJjKSjFoYuyMlHLEGVD5Ldn4vJZwQ uUGJQb1QPan877SndonpyIBCnVMatly4OFc6xEOi2VmP2aLd5958fz3gDMmW6gRJHluV 4tmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=dF66qZlt; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id b3-v6si16076753pgr.76.2018.05.23.15.39.44; Wed, 23 May 2018 15:39:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=dF66qZlt; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 4E5A17477A; Wed, 23 May 2018 22:39:39 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by mail.openembedded.org (Postfix) with ESMTP id 625826093D for ; Wed, 23 May 2018 22:39:36 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id q22-v6so11190608pff.11 for ; Wed, 23 May 2018 15:39:38 -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; bh=E0lGm2ArrPCWXmWkQ0HmXxa54HvIP35U/eQQof0zlKg=; b=dF66qZltQqvoBvQOrfPC7H+r8zD8xboQASdTvjqx98ZmIzihus7f9CfvATB6/NpKma Dq0DL3dMfyjrdqmkqFwhjLdekA5+rCtK0QZCBF/6v2RhRS9dPFGvFYD+whl9hMn4v4NM aJjR8NxdkHfjcZC15b3BbpzdDrnzMNtUu9XbL6iDBCKF9omgGKdwP/keZMGVj4x2qAki acxAf8mlPFXOjli+ap7R/r86kFuyIz2C8ipi/W4TlPSc9RYNVakVd8OkpQhJc0KUgeHz SH8ooY5zL9btGQPhGA0h/9Y5TsrL5577ijuJkYDlaKsfJGU9cPt37wYVfHJ06z3Io+qy Bo0A== 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; bh=E0lGm2ArrPCWXmWkQ0HmXxa54HvIP35U/eQQof0zlKg=; b=SD6FRIfkU0qJkFWk9oIEJaPKWyZblqihz80yDfB+r2XfTWDtEdA/yEYV58FRM0yYp8 w6UekLX56GA5Y+drhS6mlnZp5rkoOAnSSx+2WOXVOYtk0xC7Bed/FbxI+yz9+viKVbo1 0h/xQ415OX9dN8bwO9Dylzxr2oVRxWBUNMWFPpWMcTYZz4q93wafr5ZCGljysbxASNhG sMxfBH7rbrD396bLXbmzWnx6twZ9SbkdIS3fIvgcpWNzypSZ27cO+lRXQJz0B6onzDiv e2FEBk10rmuqJ3AsJhoXQ8WTSEgrv5cfQJoQrh5k488Vbc1x0wVx2dYjWYJi4MpSfwsl vh9A== X-Gm-Message-State: ALKqPwck8wsFgxNznT3b2fOaoi5wk4RHCObARCGVSUaVzHlG4pDz9wQT LDbq3mjf5RMO69NUziJAyC8fbA== X-Received: by 2002:a65:56cb:: with SMTP id w11-v6mr3647121pgs.175.1527115177514; Wed, 23 May 2018 15:39:37 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id g15-v6sm25900272pgv.58.2018.05.23.15.39.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 May 2018 15:39:36 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Wed, 23 May 2018 15:39:26 -0700 Message-Id: <20180523223928.21302-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 Subject: [oe] [meta-oe][PATCH 1/3] procmail: Use build ldflags when invoking native compile/link X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Some older compilers do not support security flags like -fstack-protector=strong and if we do not set this then it will use the target flags to pass here which will fail with gcc < 5.x, especially a problem building distros with security flags on host with 4.x gcc e.g. ubuntu 14.04 Signed-off-by: Khem Raj --- meta-oe/recipes-support/procmail/procmail_3.22.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/procmail/procmail_3.22.bb b/meta-oe/recipes-support/procmail/procmail_3.22.bb index aa474ceb14..6160733b3d 100644 --- a/meta-oe/recipes-support/procmail/procmail_3.22.bb +++ b/meta-oe/recipes-support/procmail/procmail_3.22.bb @@ -29,7 +29,7 @@ do_configure() { export CFLAGS="${BUILD_CFLAGS}" export AR="${BUILD_AR}" export AS="${BUILD_AS}" - make TARGET_CFLAGS="$TARGET_CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS0="${LDFLAGS}" autoconf.h + make TARGET_CFLAGS="$TARGET_CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS0="${BUILD_LDFLAGS}" autoconf.h } do_compile() {