From patchwork Fri Mar 16 21:41:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 131942 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp67526ljb; Fri, 16 Mar 2018 14:41:27 -0700 (PDT) X-Google-Smtp-Source: AG47ELsy34so3Hl0Lk6anfgn0y9LEZUfld+pYa6h91GmumAPvuFUKf0H/t+RZgWFb7CYxYff6ZnF X-Received: by 10.98.248.7 with SMTP id d7mr2871185pfh.117.1521236487747; Fri, 16 Mar 2018 14:41:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521236487; cv=none; d=google.com; s=arc-20160816; b=rSCv71LyJ1Snemc2m/NNvQpeDmvXiQqtNkIK0jyeyn3ih0aStXIXznGDt27grbusCT 8q/K8jkY4g5wY0YCITqnIAsLHGYUC6ReseFSwlTSd1Vd+VYjs/0HDdFN4eGGzR9xCcdg Xdzj2cWGlXaeePCQfHsSJeT9ShT2kpykdcVqoyQlOFTMMgYZYLwnPDgs3zQQUaI2AjdU eW9I7arPPHJwUbPNUofm5SstTGeiB6mBiyQmqTXeAxLbWnk8RwW7BYkT+/+OITu+mkhR 4tZ3ijZFAz8G1tTzHpZHEyy7E9q2XXv+aTQoU7HenfakIPgFUraXytwjOL4GHPC0BRqu MqsA== 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=lNuDXZgd/19HIaM5ErmxaTFJ7o2DS5bOHBz4HLRc3BE=; b=dDYtgkWGS47FirUQ4xY72fmmqV9K6ZtyNScHWn849yXURCndSKeTg4riaD2tOzu5PS DAZqtfX4KPRN5LSIQHaj6XfZUSqOZhrIqn/HH1ZKwmy7E4lc9o59Fxr1X9XMRW91Gsgc iXupe+YlgDQaqmSqOSwLfDxxCNgrdcWE6sc2AvMsN78WQcfujz92tuNFo0VBEoC5g5bZ jZeRgGl8Fov90R7LXVLqMpkFtJV8oqrOa4V1ttYvuKLxsMRFBbiaChJpKi3sUZOFClX1 5WQyCO9Pt7zPjnbxCn2zNGbKhlTbpSaDXadQne8MWQ0CmnMaDZcoCpA1TVNE8ufpa1Yy lnuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=uJbsgwlJ; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-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 h188si3660683pgc.330.2018.03.16.14.41.27; Fri, 16 Mar 2018 14:41:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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=uJbsgwlJ; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-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 E2E86788E0; Fri, 16 Mar 2018 21:41:22 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by mail.openembedded.org (Postfix) with ESMTP id 904A378878 for ; Fri, 16 Mar 2018 21:41:20 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id l4so4573509pgp.11 for ; Fri, 16 Mar 2018 14:41:22 -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=omT+ogPcGP/DSifCGv2w3w3whS3StxBl/uM9OXcIWN4=; b=uJbsgwlJiyj/8wWdrus2t94ujGT0E5R91BwGqxxPOMmcT5DOhyeLTKu5IrylWxhWQV 8dRpXQ2JWk3cI13p9FAOHkbmykYiKn5fKg6pJVaXSurr9YnnesbSNKxcNnz3g/o7BHx+ VVSVB1p5dUF+CgTJeh0qBxBrOGjysF9NxSsYGq8GWnS/RaWPEux06JtUE6NrVAnxgm6O jWCVeHxqR6sWRTnPIA4GLD7bYw2M2x/LlgAbUt5PmLMkFlXQXyGazQJ/J4DCek7RfFa/ 2M5JucEXiYYnr+qlpA0658vF9uEyZCG+7Y7Fi1cEJp+T5zgcxdUzEsJ3BX9MXscy9xvm xaIg== 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=omT+ogPcGP/DSifCGv2w3w3whS3StxBl/uM9OXcIWN4=; b=ks3H590VnvDVepmkzue+9CGs6wmOSMGIuqWGYH38awFqdGpSj+5McOlN8ANp6s4zT8 ZyUn8rk+4fhuIwHp/OUAFr0Cdp653dERXqr0u6JgVgb+TgXvFAHLDaM04j/bUp9mUvPC LqYOTKdT52grInjGb/lzEMGt6lcpF/H/2rQckz2i1w4YN9s7JCCZ6C9MooyV5hbq/D6k CTxcOn60cGzvYw6EFGN4mPc1WudsJwDpIdPOkGGp9o59dKbvs48MVeaZBRGtFmllFTTK +KL79CZ154yoBkjSsWJCWqpMs6NhhL2Jybat9HXelKLmkqDWBrx10Q3E3r2ItJm+evXF dkJQ== X-Gm-Message-State: AElRT7GPuuazgacLopK1iwCu0N3ZHBedl7UWwSSOiO6nkoRLMoZWQKw6 C0601MmUKjZDFhzZxisZE8vqCw== X-Received: by 10.99.136.194 with SMTP id l185mr2678085pgd.419.1521236482231; Fri, 16 Mar 2018 14:41:22 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id d186sm17533219pfd.1.2018.03.16.14.41.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Mar 2018 14:41:21 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 16 Mar 2018 14:41:12 -0700 Message-Id: <20180316214112.42299-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 Subject: [OE-core] [PATCH V3] gcc: Do not use --with-linker-hash-style if LINKER_HASH_STYLE is empty X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org We allow to set LINKER_HASH_STYLE to be empty so this would fail since --with-linker-hash-style needs an argument and cant be empty Signed-off-by: Khem Raj --- Changes in v3: - Fix typo in gcc option Changes in v2: - Use inline if statement instead of old syntax meta/recipes-devtools/gcc/gcc-7.3.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.16.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/gcc/gcc-7.3.inc b/meta/recipes-devtools/gcc/gcc-7.3.inc index d56d2c5e06..a80926216b 100644 --- a/meta/recipes-devtools/gcc/gcc-7.3.inc +++ b/meta/recipes-devtools/gcc/gcc-7.3.inc @@ -100,7 +100,7 @@ EXTRA_OECONF_BASE = "\ --disable-bootstrap \ --disable-libmudflap \ --with-system-zlib \ - --with-linker-hash-style=${LINKER_HASH_STYLE} \ + ${@'--with-linker-hash-style=${LINKER_HASH_STYLE}' if '${LINKER_HASH_STYLE}' else ''} \ --enable-linker-build-id \ --with-ppl=no \ --with-cloog=no \