Grummble ... giving up for now

OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/clisp?expand=0&rev=113
This commit is contained in:
Dr. Werner Fink 2018-02-21 13:44:58 +00:00 committed by Git OBS Bridge
parent 34acd2d109
commit f4ccd410b9

View File

@ -184,7 +184,17 @@ else
MYCFLAGS="${MYCFLAGS} -D_GNU_SOURCE"
fi
MYCFLAGS="${MYCFLAGS} -Wno-unused -Wno-uninitialized -Wno-implicit-fallthrough -Wno-volatile-register-var"
# From src/makemake.in
# <cite>
# Do NOT enable -DSAFETY=3 here, because -DSAFETY=3 not only disables some
# optimizations but also enables some debugging features (STACKCHECKs), which
# is not in the scope of --enable-portability.
# </cite>
%ifarch s390x
port='--enable-portability'
%else
port=''
%endif
case "$(uname -m)" in
i[0-9]86)
MYCFLAGS="${MYCFLAGS}" ;;
@ -196,8 +206,7 @@ case "$(uname -m)" in
sparc*) MYCFLAGS="${MYCFLAGS} ${safety}" ;;
ppc64) MYCFLAGS="${MYCFLAGS} ${safety}" ;;
ppc64le)MYCFLAGS="${MYCFLAGS} ${safety}" ;;
s390x) MYCFLAGS="${MYCFLAGS} ${safety} -DSAFETY=3"
port=--enable-portabilit ;;
s390x) MYCFLAGS="${MYCFLAGS} ${safety}" ;;
ia64) MYCFLAGS="${MYCFLAGS} ${safety}" ;;
axp|alpha)
MYCFLAGS="${MYCFLAGS}" ;;