From patchwork Tue Jan 15 09:40:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 155648 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp4670841jaa; Tue, 15 Jan 2019 01:40:33 -0800 (PST) X-Google-Smtp-Source: ALg8bN6aNuba9XvRR/c1/9dReCyBt6DQOzzdKQksKiNKJJJpmaQFyCJiZWBZeZpwBb4myo6OKcHz X-Received: by 2002:a17:902:bc81:: with SMTP id bb1mr3088063plb.223.1547545233111; Tue, 15 Jan 2019 01:40:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547545233; cv=none; d=google.com; s=arc-20160816; b=dk5q3WA1XF5oYobeRjIQ9vjaj5d6gPlaQ25zmEOIg5Zs90yhsnl1uBcmz5nL23pGoC YWrMgTxIh06MPFHHkYfz9uR4bysE8HFTjdPmEaR3hZE5+ZwOY5mkcWwB6Jxg306caXmC 7GYcz5haeK3NXQ0Uik0dR/5PEugvCeAkEOPlYKKkgBY0oQQ/vUeD4xxVPu3P39u2SvhX CS3XRzHYaQ0bizJk/iXgQU2/0cYauemWDXM7fdVvslaHuvpvy17Cyt4xVmwcOeOTtYCE /C0wu47TEcfFgRjBpplCutby4NZG/1oIJIdVx8pYOYBTvafBl8yQmo0Xbm4Os9w0lRu7 uRtg== 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:message-id:date:to:from:dkim-signature:delivered-to; bh=yKjtREjWviB8wvnilluMrfySWD3jkkjRbOyP1Zx3zE8=; b=nTiSvR+k2h4g5piv4bYP3m/9uuybCGATG92oio5kRPGwLEUmGvzZVguXZ9j/g6bsyf w7Dn1RRlXIjUuazIVAML8kZQUdpQ2reh5RTvXpaUR11swGqV68TvQxHdXmheCikohMVD Rd7EeQzQD9c8jlZPGx8jfSHHDW//SG9VlGNEtJtV0NvMfHqL53HSRv/gwIeq++R1Hypi lGeOoOgI6ht/mRYuyCY+eQlDOgZuU+nV0JcPaku4Mk6TCu8yItHrzhFibS59KqsnUrNT TRtNWaG1NS/qz30Dr1r9AJ2UbH1yzpaIrMh8GpJG+1u1sQyKvGITLrZov6BnllHJlko3 SEMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=p2UA0UyD; 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 g32si2889274pgg.400.2019.01.15.01.40.32; Tue, 15 Jan 2019 01:40:33 -0800 (PST) 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=p2UA0UyD; 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 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 42D4F7C08C; Tue, 15 Jan 2019 09:40:27 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by mail.openembedded.org (Postfix) with ESMTP id 8E8EB7C085 for ; Tue, 15 Jan 2019 09:40:25 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id z10so1009976pgp.7 for ; Tue, 15 Jan 2019 01:40:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=F3RB33vJbwyDutDQFA2uGx4VCuOjgRwst4sKRhY8OTs=; b=p2UA0UyDohzO/LdGkv95ERp7+5i8HyPnFnjd/ly+ANSKYM9AQ+h1JjbxAe3H/y6/So oHUQBSSPM+8F1abLOXyxk5I3KDyxTRSVJBkB8gXEIVynQ6+HQsnZ75WT1vr6k3ZGSOZk 6IvSe62hcFxySxWc/x+gydS26jkM2lIPrgZ3aW6lRz2YFbZ0VM0/oVNduc550t/hi9Hc kh6tb40e07ImB4YYnSCCTPFlWd0MPXs+1qFY9WkiSMGMJdZKM/hFobvnBDZsVJnjaMKm x/kTcWcRQyLV+5zE0LGIPbOMZzaMLaHBJxKgk6n5ri1DYNvNuwAg0z5zD3gcRYCB2K7V wUIw== 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:mime-version :content-transfer-encoding; bh=F3RB33vJbwyDutDQFA2uGx4VCuOjgRwst4sKRhY8OTs=; b=iKtqxMIN48ZuMa00MFOBX/yN9js0l3PdC5fNxUfnQzYx+ezsFWD7z0SgxwkcDFYKDh hmzQQg7H/qBDmIB4IbGPlpQ5BfCDHcPjUE6V4IaIVgGW+Z8HU+7COnMNdww/k7DFmGFt Grhi1tfXSPFfL21WiSAGmIJ/MFgUsLmEHHfYF+TYH4CndPkJkBwYQstRfQCJK44kC7SF zpPNY3C06lXtoRuZ8iCsRCyS5/0tF8s3mNJs/SUXVvLQbR6phB0kLc1wD25Voeo3Xx7h cXejdP3K4WJt9uTMP6VRLcpnlFskrJBNLN07pndshW3JAmfBDupQDLsma2+j4wtAraFX yKDQ== X-Gm-Message-State: AJcUukcKfLcWzitPJG9CKfy0OrE97+EOklPgd6qCDblRIRwPAhdr/kQg mSscwCfyPaXOxLQctwfrXFhi80DA8gM= X-Received: by 2002:a62:fb07:: with SMTP id x7mr3061201pfm.71.1547545225868; Tue, 15 Jan 2019 01:40:25 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::4107]) by smtp.gmail.com with ESMTPSA id b10sm3451262pfj.183.2019.01.15.01.40.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Jan 2019 01:40:25 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 15 Jan 2019 01:40:16 -0800 Message-Id: <20190115094016.33349-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [oe] [thud][PATCH] mozjs: Avoid use of X11 from host when X11 is disabled 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 From: Otavio Salvador The mozjs build system makes use of host headers and libraries if not passed an invalid path for `--x-includes` and `--x-libraries`. This fixes host contamination while building in a development host. Signed-off-by: Otavio Salvador Signed-off-by: Khem Raj --- meta-oe/recipes-extended/mozjs/mozjs_52.9.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/mozjs/mozjs_52.9.1.bb b/meta-oe/recipes-extended/mozjs/mozjs_52.9.1.bb index 0dfe2f848..440a25b74 100644 --- a/meta-oe/recipes-extended/mozjs/mozjs_52.9.1.bb +++ b/meta-oe/recipes-extended/mozjs/mozjs_52.9.1.bb @@ -49,7 +49,7 @@ EXTRA_OECONF = " \ " PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" -PACKAGECONFIG[x11] = "--x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},,virtual/libx11" +PACKAGECONFIG[x11] = "--x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--x-includes=no --x-libraries=no,virtual/libx11" EXTRA_OEMAKE_task-compile += "OS_LDFLAGS='-Wl,-latomic ${LDFLAGS}'" EXTRA_OEMAKE_task-install += "STATIC_LIBRARY_NAME=js_static"