From 51a567b2c4dfbea9ee4ae9de5137bf39342fd953 Mon Sep 17 00:00:00 2001 From: wchang kim Date: Tue, 18 Jun 2024 17:58:34 +0900 Subject: [PATCH] Fixed the build error for gcc-14 Change-Id: I316374afcabc7906fb5e4c9c44d7d76f6e558dc3 --- escargotshim.gyp | 1 + packaging/lwnode.spec | 2 ++ 2 files changed, 3 insertions(+) diff --git a/escargotshim.gyp b/escargotshim.gyp index cb887cc..0518e4f 100755 --- a/escargotshim.gyp +++ b/escargotshim.gyp @@ -85,6 +85,7 @@ '-Wno-unused-result', '-fexceptions', '-fvisibility=hidden', + '-Wno-alloc-size', ], 'direct_dependent_settings': { 'defines': [ diff --git a/packaging/lwnode.spec b/packaging/lwnode.spec index b9c1d62..2bfce3a 100644 --- a/packaging/lwnode.spec +++ b/packaging/lwnode.spec @@ -20,6 +20,8 @@ Group: System/Servers License: Apache-2.0 and MIT and BSD-2-Clause and BSD-3-Clause and BOEHM-GC and ICU and LGPL-2.1+ and Zlib Source: %{name}-%{version}.tar.gz +ExcludeArch: riscv64 + BuildRequires: cmake BuildRequires: make BuildRequires: python -- 2.34.1