From patchwork Fri Oct 12 19:54:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Fr=C3=B6berg?= X-Patchwork-Id: 191186 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id C6A422C008A for ; Sat, 13 Oct 2012 06:56:04 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1F4831024B1; Fri, 12 Oct 2012 19:56:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ow6ucoxyzvLy; Fri, 12 Oct 2012 19:55:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id CBF0B101A64; Fri, 12 Oct 2012 19:55:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id EF5EE8F74A for ; Fri, 12 Oct 2012 19:55:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2C3078D64A for ; Fri, 12 Oct 2012 19:55:41 +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 L+So25rAThs9 for ; Fri, 12 Oct 2012 19:55:39 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.petroprogram.com (mail.petroprogram.com [194.89.34.74]) by whitealder.osuosl.org (Postfix) with ESMTPS id 70EEB8D5C9 for ; Fri, 12 Oct 2012 19:55:39 +0000 (UTC) Received: from localhost.localdomain (212-226-64-71-nat.elisa-mobile.fi [212.226.64.71]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: stefan.froberg@petroprogram.com) by mail.petroprogram.com (Postfix) with ESMTPSA id C4EB04400C; Fri, 12 Oct 2012 22:45:02 +0300 (EEST) From: =?UTF-8?q?Stefan=20Fr=C3=B6berg?= To: buildroot@busybox.net Date: Fri, 12 Oct 2012 22:54:50 +0300 Message-Id: <1350071690-11279-1-git-send-email-stefan.froberg@petroprogram.com> X-Mailer: git-send-email 1.7.7.6 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] beecrypt: enable OpenMP if Buildroot GCC supports it X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Stefan Fröberg --- package/beecrypt/beecrypt.mk | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/package/beecrypt/beecrypt.mk b/package/beecrypt/beecrypt.mk index d165aee..101d0df 100644 --- a/package/beecrypt/beecrypt.mk +++ b/package/beecrypt/beecrypt.mk @@ -18,6 +18,12 @@ BEECRYPT_CONF_OPT = \ --without-java \ --without-python +ifeq ($(BR2_GCC_ENABLE_OPENMP),y) +BEECRYPT_CONF_OPT += --enable-openmp +else +BEECRYPT_CONF_OPT += --disable-openmp +endif + ifeq ($(BR2_PACKAGE_ICU),y) # C++ support needs icu BEECRYPT_DEPENDENCIES += icu