Temporary change to build bash 5.0 static linked for SLES-15
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=294
This commit is contained in:
parent
2b2eee6e8a
commit
403067309f
10
bash.spec
10
bash.spec
@ -304,6 +304,11 @@ test ${rl1[2]} = ${rl2[2]} || exit 1
|
|||||||
LARGEFILE="$(getconf LFS_CFLAGS)"
|
LARGEFILE="$(getconf LFS_CFLAGS)"
|
||||||
CFLAGS="$RPM_OPT_FLAGS $LARGEFILE -D_GNU_SOURCE -DRECYCLES_PIDS -Wall -g"
|
CFLAGS="$RPM_OPT_FLAGS $LARGEFILE -D_GNU_SOURCE -DRECYCLES_PIDS -Wall -g"
|
||||||
LDFLAGS=""
|
LDFLAGS=""
|
||||||
|
%if 0%{?sle_version} > 0
|
||||||
|
%if 0%{?suse_version} == 1500
|
||||||
|
LDFLAGS="-Wl,-Bstatic -lreadline -Wl,-Bdynamic"
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
#
|
#
|
||||||
# Never ever put -DMUST_UNBLOCK_CHLD herein as this breaks bash
|
# Never ever put -DMUST_UNBLOCK_CHLD herein as this breaks bash
|
||||||
#
|
#
|
||||||
@ -352,11 +357,6 @@ test ${rl1[2]} = ${rl2[2]} || exit 1
|
|||||||
#
|
#
|
||||||
READLINE="
|
READLINE="
|
||||||
--with-installed-readline
|
--with-installed-readline
|
||||||
%if 0%{?sle_version} > 0
|
|
||||||
%if 0%{?suse_version} == 1500
|
|
||||||
--enable-static-link
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
"
|
"
|
||||||
bash support/mkconffiles -v
|
bash support/mkconffiles -v
|
||||||
%if %_minsh
|
%if %_minsh
|
||||||
|
Loading…
Reference in New Issue
Block a user