Try s390x without stack protection

OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/clisp?expand=0&rev=108
This commit is contained in:
Dr. Werner Fink 2018-02-21 11:21:47 +00:00 committed by Git OBS Bridge
parent 64693d638b
commit b59a44b929

View File

@ -116,7 +116,6 @@ contains two nice applications.
%prep
%setup -qT -b0
%ifnarch s390x
%patch1 -p1 -b .sel
%patch2 -p1 -b .wooh
%patch4 -p1 -b .conf
@ -127,7 +126,6 @@ contains two nice applications.
%patch12 -p1 -b .p12
%patch14 -p0 -b .p14
%patch16 -p1 -b .p16
%endif
%build
#
@ -153,7 +151,7 @@ else
CC="gcc"
fi
%ifarch s390x
RPM_OPT_FLAGS="$(echo %{optflags}|sed -r 's/-fstack-[a-z-]+ ?//g')"
RPM_OPT_FLAGS="$(echo %{optflags}|sed -r 's/-f(stack-[a-z-]+)/-fno\1/g') -fno-stack-limit"
%endif
CC="${CC} -g ${RPM_OPT_FLAGS} -falign-functions=4 -fno-strict-aliasing -fPIC -pipe"
case "$(uname -m)" in
@ -253,14 +251,11 @@ find -name configure | xargs -r \
> $SCREENLOG
tail -q -s 0.5 -f $SCREENLOG & pid=$!
%_configure build ${DEBUG} \
CFLAGS="${MYCFLAGS}" \
${port+"$port"} \
--prefix=%{_prefix} \
--exec-prefix=%{_prefix} \
--libdir=%{_libdir} \
%ifnarch s390x
--vimdir=%{vimdir} \
%endif
--fsstnd=suse \
--with-readline \
--with-dynamic-modules \
@ -279,10 +274,9 @@ tail -q -s 0.5 -f $SCREENLOG & pid=$!
--with-module=clx/new-clx \
--with-module=berkeley-db \
--with-module=postgresql
%ifarch s390x
%_make -C build lispbibl.h
cat build/lispbibl.h
%endif
grep TYPECODES build/lispbibl.h
%_make -C build
%_make -C build check