add changes

OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=222
This commit is contained in:
Michael Schröder 2019-09-06 15:26:33 +00:00 committed by Git OBS Bridge
parent 362b3a1bf2
commit 8a14729172
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 6 17:25:26 CEST 2019 - mls@suse.de
- fix build by removing -Werror=return-type
-------------------------------------------------------------------
Wed Dec 20 13:18:32 CET 2017 - mls@suse.de

View File

@ -322,7 +322,7 @@ fi
RPM_OPT_FLAGS="${RPM_OPT_FLAGS//-as-needed/-no-as-needed/}"
# Use POSIX as environment
test -n "${!LC_*}" && unset "${!LC_*}"
# Test...
# ksh currently does not build with -Werror=return-type
RPM_OPT_FLAGS="${RPM_OPT_FLAGS//-Werror=return-type/}"
cflags ()
{