Explicitly BR make.

This commit is contained in:
Jerry James 2020-11-09 10:51:36 -07:00
parent d13970fbde
commit 030c25413d
1 changed files with 3 additions and 2 deletions

View File

@ -33,6 +33,7 @@ Patch6: 0006-antlr3memory.hpp-fix-for-C-20-mode.patch
Patch7: 0007-update-java-target.patch
BuildRequires: ant
BuildRequires: make
BuildRequires: maven-local
BuildRequires: mvn(org.antlr:antlr)
BuildRequires: mvn(org.antlr:antlr3-maven-plugin)
@ -188,7 +189,7 @@ autoreconf -i
%endif
sed -i "s#CFLAGS = .*#CFLAGS = $RPM_OPT_FLAGS#" Makefile
make %{?_smp_mflags}
%make_build
doxygen -u # update doxygen configuration file
doxygen # build doxygen documentation
popd
@ -221,7 +222,7 @@ EOF
# install C runtime
pushd runtime/C
make DESTDIR=$RPM_BUILD_ROOT install
%make_install
rm $RPM_BUILD_ROOT%{_libdir}/libantlr3c.{a,la}
pushd api/man/man3
for file in `ls -1 * | grep -vi "^antlr3"`; do