From patchwork Thu Mar 4 17:54:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Bilas X-Patchwork-Id: 1447467 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=2605:bc80:3010::133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Drz5s5f0Jz9sVt for ; Fri, 5 Mar 2021 04:54:41 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id EB10043283; Thu, 4 Mar 2021 17:54:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lNoIa9zNaU9f; Thu, 4 Mar 2021 17:54:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 59D974326E; Thu, 4 Mar 2021 17:54:37 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id F380B1BF356 for ; Thu, 4 Mar 2021 17:54:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id E2C6F6F94D for ; Thu, 4 Mar 2021 17:54:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2wVCn_UfN4bk for ; Thu, 4 Mar 2021 17:54:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from smtp2.megiteam.pl (smtp2.megiteam.pl [213.189.52.193]) by smtp3.osuosl.org (Postfix) with ESMTPS id 62A6F6F5B9 for ; Thu, 4 Mar 2021 17:54:34 +0000 (UTC) Received: from host-81-161-203-250.oxylion.net.pl ([81.161.203.250] helo=bartekk-pc.lan) by smtp.megiteam.pl with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86.2_XX) (envelope-from ) id 1lHsBC-0001QF-S5; Thu, 04 Mar 2021 18:54:31 +0100 From: Bartosz Bilas To: buildroot@buildroot.org Date: Thu, 4 Mar 2021 18:54:28 +0100 Message-Id: <20210304175428.1132524-1-b.bilas@grinn-global.com> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] package/janet: add -std=c99 to CFLAGS X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartosz Bilas Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" As upstream says Janet should be compiled with -std=c99 so pass this in order to fix the failures below. Fixes: http://autobuild.buildroot.net/results/192/1922ec115b9dc9e879760a6868969d9677093510/build-end.log ... http://autobuild.buildroot.net/results/355/355e0992338a8d132050517f83a3884606b00529/build-end.log Signed-off-by: Bartosz Bilas --- package/janet/janet.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/janet/janet.mk b/package/janet/janet.mk index 7243d60c01..ea042221d8 100644 --- a/package/janet/janet.mk +++ b/package/janet/janet.mk @@ -8,8 +8,8 @@ JANET_VERSION = 1.15.0 JANET_SITE = $(call github,janet-lang,janet,v$(JANET_VERSION)) JANET_LICENSE = MIT JANET_LICENSE_FILES = LICENSE - JANET_INSTALL_STAGING = YES +JANET_CFLAGS = $(TARGET_CFLAGS) -std=c99 ifeq ($(BR2_STATIC_LIBS),y) JANET_CONF_OPTS += -Ddynamic_modules=false