Other compiler for s390x
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/clisp?expand=0&rev=116
This commit is contained in:
parent
7d4d88a75f
commit
22b2117ff7
14
clisp.spec
14
clisp.spec
@ -54,6 +54,9 @@ BuildRequires: db-devel
|
|||||||
BuildRequires: dbus-1-devel
|
BuildRequires: dbus-1-devel
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: ffcall
|
BuildRequires: ffcall
|
||||||
|
%ifarch s390x
|
||||||
|
BuildRequires: gcc8
|
||||||
|
%endif
|
||||||
BuildRequires: gdbm-devel
|
BuildRequires: gdbm-devel
|
||||||
BuildRequires: gtk2-devel
|
BuildRequires: gtk2-devel
|
||||||
BuildRequires: libglade2-devel
|
BuildRequires: libglade2-devel
|
||||||
@ -151,7 +154,7 @@ else
|
|||||||
CC="gcc"
|
CC="gcc"
|
||||||
fi
|
fi
|
||||||
%ifarch s390x
|
%ifarch s390x
|
||||||
RPM_OPT_FLAGS="$(echo %{optflags}|sed -r 's/-fstack-protector-strong ?//g;s/-f(stack-clash-protection)/-fno-\1/') -fno-stack-limit"
|
##RPM_OPT_FLAGS="$(echo %{optflags}|sed -r 's/-fstack-protector-strong ?//g;s/-f(stack-clash-protection)/-fno-\1/') -fno-stack-limit"
|
||||||
%endif
|
%endif
|
||||||
CC="${CC} -g ${RPM_OPT_FLAGS} -fno-strict-aliasing -fPIC -pipe"
|
CC="${CC} -g ${RPM_OPT_FLAGS} -fno-strict-aliasing -fPIC -pipe"
|
||||||
case "$(uname -m)" in
|
case "$(uname -m)" in
|
||||||
@ -190,10 +193,9 @@ MYCFLAGS="${MYCFLAGS} -Wno-unused -Wno-uninitialized -Wno-implicit-fallthrough -
|
|||||||
# optimizations but also enables some debugging features (STACKCHECKs), which
|
# optimizations but also enables some debugging features (STACKCHECKs), which
|
||||||
# is not in the scope of --enable-portability.
|
# is not in the scope of --enable-portability.
|
||||||
# </cite>
|
# </cite>
|
||||||
%ifarch s390x
|
|
||||||
port='--enable-portability'
|
|
||||||
%else
|
|
||||||
port=''
|
port=''
|
||||||
|
%ifarch s390x
|
||||||
|
##port='--enable-portability'
|
||||||
%endif
|
%endif
|
||||||
case "$(uname -m)" in
|
case "$(uname -m)" in
|
||||||
i[0-9]86)
|
i[0-9]86)
|
||||||
@ -262,10 +264,6 @@ find -name configure | xargs -r \
|
|||||||
> $SCREENLOG
|
> $SCREENLOG
|
||||||
tail -q -s 0.5 -f $SCREENLOG & pid=$!
|
tail -q -s 0.5 -f $SCREENLOG & pid=$!
|
||||||
%_configure build ${DEBUG} \
|
%_configure build ${DEBUG} \
|
||||||
%ifarch s390x
|
|
||||||
--build=s390x-ibm-linux-gnu \
|
|
||||||
--host=s390x-nixda-gnu \
|
|
||||||
%endif
|
|
||||||
${port+"$port"} \
|
${port+"$port"} \
|
||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
--exec-prefix=%{_prefix} \
|
--exec-prefix=%{_prefix} \
|
||||||
|
Loading…
Reference in New Issue
Block a user