From 918c001fd8284378f1ba024fc46d427cb0d1536d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=90=8D?= <1477412247@qq.com> Date: Fri, 30 Jul 2021 09:28:50 +0000 Subject: [PATCH 1/2] erlang fix build error with gcc 10 --- erlang.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erlang.spec b/erlang.spec index 369a4c5..2a4191c 100644 --- a/erlang.spec +++ b/erlang.spec @@ -577,7 +577,7 @@ Provides support for XML 1.0. %ifarch sparcv9 sparc64 ERL_FLAGS="${RPM_OPT_FLAGS} -mcpu=ultrasparc -fno-strict-aliasing" %else -ERL_FLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing" +ERL_FLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing -fcommon" %endif CFLAGS="${ERL_FLAGS}" CXXFLAGS="${ERL_FLAGS}" %configure --enable-shared-zlib --enable-sctp --enable-systemd --disable-silent-rules \ %{?__with_hipe:--enable-hipe} \ -- Gitee From 60fbc2afa6864b72e8d716b334eefb71b511042d Mon Sep 17 00:00:00 2001 From: Li Ping <1477412247@qq.com> Date: Mon, 2 Aug 2021 22:03:19 +0800 Subject: [PATCH 2/2] erlang.spec: add changelog --- erlang.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/erlang.spec b/erlang.spec index 2a4191c..8930a5f 100644 --- a/erlang.spec +++ b/erlang.spec @@ -11,7 +11,7 @@ %global __with_wxwidgets 1 Name: erlang Version: 21.3.3 -Release: 2 +Release: 3 Summary: General-purpose programming language and runtime environment License: ASL 2.0 URL: https://www.erlang.org @@ -1723,6 +1723,9 @@ useradd -r -g epmd -d /dev/null -s /sbin/nologin \ %endif %changelog +* Fri Jul 30 2021 liping - 21.3.3-3 +- Support parallel compilation + * Sat Mar 27 2021 weishengjing - 21.3.3-2 - Support parallel compilation -- Gitee