From b59a44b929f50012285b6f4c4b025d1215e73b1c29cf793d72dda2943510b120 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Wed, 21 Feb 2018 11:21:47 +0000 Subject: [PATCH] Try s390x without stack protection OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/clisp?expand=0&rev=108 --- clisp.spec | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/clisp.spec b/clisp.spec index 7f45cbd..ca8e6d9 100644 --- a/clisp.spec +++ b/clisp.spec @@ -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