SHA256
6
0
forked from pool/ncurses

Updating link to change in openSUSE:Factory/ncurses revision 207.0

OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=41390f998c01b82a0139d1d37ed2dece
This commit is contained in:
OBS User buildservice-autocommit
2022-02-27 21:42:38 +00:00
committed by Git OBS Bridge
parent 9b39f58f8e
commit 682bdf5684
5 changed files with 48 additions and 21 deletions

View File

@@ -355,7 +355,8 @@ mv tack-* tack
# Do not run auto(re)conf here as this will fail later on ncurses
# is build with special autoconf based on autoconf-2.13 at upstream
#
%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
%global _lto_cflags_shared %{?_lto_cflags} -ffat-lto-objects
%global _lto_cflags %nil
#
# Note that there is a test if the system call poll(2) really works
# on terminal or files. To make sure that even in OBS the configure
@@ -364,6 +365,8 @@ mv tack-* tack
# Remark: A better solution would be that in OBS a real pty/tty pair
# would be used instead of redirecting stdout/stderr to a log file.
#
CFLAGS_SHARED="%{_lto_cflags_shared}"
export CFLAGS_SHARED
%global _configure screen -D -m ./configure
SCREENDIR=$(mktemp -d ${PWD}/screen.XXXXXX) || exit 1
SCREENRC=${SCREENDIR}/ncurses