Summary(pl.UTF-8): Powłoka Korna z MirBSD
Name: mksh
Version: 40d
-Release: 1
+Release: 2
License: BSD
Group: Applications/Shells
Source0: http://www.mirbsd.org/MirOS/dist/mir/mksh/%{name}-R%{version}.cpio.gz
install -d out
CC="%{__cc}" \
-CFLAGS="%{rpmcppflags} %{rpmcflags}" \
+CFLAGS="%{rpmcflags}" \
LDFLAGS="%{rpmldflags}" \
+CPPFLAGS="-DMKSH_BINSHREDUCED=1 %{rpmcppflags}" \
sh ./Build.sh -Q -r -j -c lto
# skip some tests if not on terminal
%if %{with static}
CC="%{__cc}" \
-CFLAGS="%{rpmcppflags} %{rpmcflags}" \
+CFLAGS="%{rpmcflags}" \
LDFLAGS="%{rpmldflags} -static" \
+CPPFLAGS="-DMKSH_BINSHREDUCED=1 %{rpmcppflags}" \
sh ./Build.sh -Q -r -j -c lto
%{?with_tests:./test.sh -v $skip_tests}