--- freem-rpmbuild-os2/SPECS/freem.spec 2025/03/27 16:13:58 1.3 +++ freem-rpmbuild-os2/SPECS/freem.spec 2025/04/14 02:47:06 1.4 @@ -19,11 +19,23 @@ Coherent Logic FreeM MUMPS interpreter a %prep %setup -q +rm -f libtool.m4 +libtoolize --force --copy +aclocal -I . -I m4 +automake --add-missing --copy +autoconf +autoheader %build -CONFIG_SHELL="/bin/sh"; export CONFIG_SHELL;\ -%configure CC=/usr/bin/gcc.exe GREP=/usr/bin/grep.exe SED=/usr/bin/sed.exe -make LDFLAGS=-no-undefined +export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" +export CONFIG_SHELL=/usr/bin/sh.exe +export MAKESHELL=/usr/bin/sh.exe +export SHELL=/usr/bin/sh.exe +export CC=/usr/bin/gcc.exe +export GREP=/usr/bin/grep.exe +export SED=/usr/bin/sed.exe +%configure +make %{?_smp_mflags} %install %{make_install} PREFIX=%{_prefix}