From 0311196be48ac0d911331ec169ceb86da82843e14a2d93f0247942b7000724c9 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 29 Aug 2024 13:39:35 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/clisp?expand=0&rev=137 --- clisp.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/clisp.spec b/clisp.spec index 3c256cd..fd5d5b3 100644 --- a/clisp.spec +++ b/clisp.spec @@ -172,7 +172,7 @@ else CC="gcc" fi %ifarch s390x -%{expand:%%global optflags %(echo "%{optflags}"|sed -r -e s/-fstack-protector-strong// -e s/-fstack-clash-protection//)} +%{expand:%%global optflags %(echo "%{optflags}"|sed -r -e s/-fstack-protector-strong// -e s/-fstack-clash-protection// -e "s/(-D_FORTIFY_SOURCE)=3/\1=2/")} %endif CC="${CC} -g %{optflags} -fno-strict-aliasing -fPIC -pipe" case "$(uname -m)" in @@ -315,9 +315,8 @@ tail -q -s 0.5 -f $SCREENLOG & pid=$! --with-module=berkeley-db \ --with-module=postgresql \ --config \ - build \ CC="${CC}" \ - CFLAGS="%{build_cflags} ${MYCFLAGS} -Wa,--noexecstack" \ + CFLAGS="${MYCFLAGS} -Wa,--noexecstack" \ LDFLAGS="-Wl,--as-needed -Wl,-z,relro -Wl,-z,noexecstack" %_make -C build lispbibl.h