From ebaf4c09570cac0feb2ad0ad65236e59b1bbcae2 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 2 Jan 2018 15:59:24 +0000 Subject: [PATCH] Unnecessary change to RISC-V macros in GCC requires change in luaconf.h. --- lua.spec | 5 ++++- luaconf.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lua.spec b/lua.spec index 7f0e1c6..271fd72 100644 --- a/lua.spec +++ b/lua.spec @@ -12,7 +12,7 @@ Name: lua Version: %{major_version}.4 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Powerful light-weight programming language Group: Development/Languages License: MIT @@ -220,6 +220,9 @@ install -Dpm 0644 %{SOURCE1000} $RPM_BUILD_ROOT/%{macrosdir}/macros.lua %changelog +* Tue Jan 2 2018 Richard W.M. Jones - 5.3.4-8 +- Unnecessary change to RISC-V macros in GCC requires change in luaconf.h. + * Mon Dec 4 2017 Tom Callaway - 5.3.4-7 - fix pkgconfig provides (bz1519921) diff --git a/luaconf.h b/luaconf.h index 78dd149..2b10184 100644 --- a/luaconf.h +++ b/luaconf.h @@ -52,7 +52,7 @@ #include "luaconf-mipsel.h" #elif defined(__mips) #include "luaconf-mips.h" -#elif defined(__riscv__) +#elif defined(__riscv) #include "luaconf-riscv64.h" #else #error "The lua-devel package is not usable with the architecture."