From patchwork Sat Aug 3 01:10:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 170465 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp1472370ile; Fri, 2 Aug 2019 18:11:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqzyoQX2W+gAThdqquIS4hJCEBqLN9mpNEPMH6ig0fCgtl6hhq9wgeFBYhJuzMRgAzYrNVPD X-Received: by 2002:a63:36cc:: with SMTP id d195mr85164263pga.157.1564794670283; Fri, 02 Aug 2019 18:11:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564794670; cv=none; d=google.com; s=arc-20160816; b=EOtGC0H3xYVqbkkbqBOwV8KR2i5zBvGnZe9dHzS4WYo+cqcnkYctPVg35NAV94yPUS 3qjXrbEk+Q6wo8neoMp2TcdnE2KCtsBOTIp2CafZ4LZRz7oPCLaHIGcwgsWWGip9xfOn A+nFiyo7lpjdHu2uGAmt1NhPw3LadDJLy9i5yU8Ji2CwR2/cPUeY9NPeFuoEHsFB/LO1 0zX9hvp9ENAO1DOg59C6/Cge7P19+sYv/tmLUszRN2Os8h7UI09fhwWD+GyONH/bOn4y vR9Js+x8Lz3VvUUfQvo+4xJdpQg0BO8xUpgcN2cVIei7KLgqP2YBU5Ke670Arb5OBnxM vx+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=hcx5oEp07yuJWexGm3rlYyYfr7RWrVEL4gE6FpZC3Nc=; b=uXibRWhzSQz1d74IBGFNHMWJPYfNwJRfQkY8c+NkOgeVNoI9BndGLiX9+zk1vxXKXp W4GgvIE2mHYMgiFK2O2KZe7AOBWtZIVS7+jLvf8vFgPVVwh6jpX35bXLVMJqhdUrnnb1 uJ+hVjcoOUpvFx/Z7Ppf/9BNYYsa/PCzGKYkeyz/NYz6wBmQX1mGA0AEB6238q4G5rWs TBg+FOyMercOo10NLyPbDGHXnSIQmZVQWfKXrzt9i6X1u8w2Kyqv0pA7/fVEcdTmDBhJ yOt9kRojNPwh0uSqg1dye+BRwDLScKj6OPcN/jOiAzsW43iVb5MPHEMIJTuz3ZM7ip14 j2Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=PtFG6w7J; 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 a17si41704051pff.195.2019.08.02.18.11.10; Fri, 02 Aug 2019 18:11:10 -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=PtFG6w7J; 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 ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0D8087F392; Sat, 3 Aug 2019 01:11:07 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by mail.openembedded.org (Postfix) with ESMTP id 811C271CBD for ; Sat, 3 Aug 2019 01:10:49 +0000 (UTC) Received: by mail-pg1-f175.google.com with SMTP id k189so17817244pgk.13 for ; Fri, 02 Aug 2019 18:10:50 -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=WtCZ6cpDq/1gSHIbasN3uMzdOamWMuPp6k5D7dKjM6c=; b=PtFG6w7JjxSL7CczXrmtOJmH5+OR7RcXxIfK4uxfvVVwh6yynMLnZZhGQTim9+5oUL fKDmJtIOOHwFHPoIDoq0O99EDCTGoTVPc2R2yTWGd9bnA6MKkIdKFW9jBkOTTEHIsRpS qcz5SYHQWU/Q0HA81vDh9THBTTrDHOaKuZ6n4fkcFmDjPNh0SpZRVI3iomihHxCBPAJ5 YFnJxnxlW6tUyRU4WUj9T493Q/kxox4+8jthiblKDLXFRtndKplr+FKugf7uVl9qHQOy bhrXjKSkfMevv9w2jxckLQOwF+zFvTMrbRTMICJ7iYqjRwQ66ymQyroBNISBua1fI8/K nXnw== 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=WtCZ6cpDq/1gSHIbasN3uMzdOamWMuPp6k5D7dKjM6c=; b=XL2nB9xcSLlBqeWE8yGqhNeAZztM2AQ4G8EagZKqWaf7tFwM4qtGzSkrFDCSK+qi+9 +rtasztg7kOAvLdfh2RE7i0izYvUXFxQC3d4oHjQVcYfa9ANgSKQetUFzMj03txJXjEE X/WnIuTpvpgh+BUucy3v64HqdV8EKTbvxjh/lNvn+sPNm7QhiZIGKFK2OIkY68O6tizw GJ2tPQ7cwt68oce2gLL7ByBMMLufbVNeipGxDysT+s05/C950cmwjJyWed3D8csAPfY6 deSFrkFRemu2FYUXlkHvxf9PDWS7LDmspZkE1EWvMOPbo6eV6kNCf2bWIEW1gWQWBVhk 5Frw== X-Gm-Message-State: APjAAAVX01UxiGa8QV3+y7PTxBheya7ED8eDe0k1IXENC5poFYeQiWvq xN9HEQkgpTazYQ6YUzKonPXJi9u/gvk= X-Received: by 2002:a17:90a:ba94:: with SMTP id t20mr7169503pjr.116.1564794650143; Fri, 02 Aug 2019 18:10:50 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net (c-73-71-176-3.hsd1.ca.comcast.net. [73.71.176.3]) by smtp.gmail.com with ESMTPSA id 22sm86976937pfu.179.2019.08.02.18.10.49 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 02 Aug 2019 18:10:49 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 2 Aug 2019 18:10:37 -0700 Message-Id: <20190803011037.41864-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190803011037.41864-1-raj.khem@gmail.com> References: <20190803011037.41864-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-initramfs][PATCH 2/2] klcc-cross: Recognise --unwindlib clang option 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: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../klibc/files/klcc-cross-accept-clang-options.patch | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) -- 2.22.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-initramfs/recipes-devtools/klibc/files/klcc-cross-accept-clang-options.patch b/meta-initramfs/recipes-devtools/klibc/files/klcc-cross-accept-clang-options.patch index 07703aa536..3b7031e981 100644 --- a/meta-initramfs/recipes-devtools/klibc/files/klcc-cross-accept-clang-options.patch +++ b/meta-initramfs/recipes-devtools/klibc/files/klcc-cross-accept-clang-options.patch @@ -3,16 +3,17 @@ meta-clang passes this option to compiler defaults Upstream-Status: Pending Signed-off-by: Khem Raj -Index: git/klcc/klcc.in -=================================================================== ---- git.orig/klcc/klcc.in -+++ git/klcc/klcc.in -@@ -207,6 +207,9 @@ while ( defined($a = shift(@ARGV)) ) { +--- a/klcc/klcc.in ++++ b/klcc/klcc.in +@@ -207,6 +207,12 @@ while ( defined($a = shift(@ARGV)) ) { } elsif ( $a =~ /^--([sysroot=])(.*)$/ ) { # Override gcc encoded sysroot push(@ccopt, $a); + } elsif ( $a eq '-no-integrated-as' ) { + # Allow clang options ++ push(@ccopt, $a); ++ } elsif ( $a =~ '--unwindlib=.*' ) { ++ # Allow clang options + push(@ccopt, $a); } else { die "$0: unknown option: $a\n";