Accepting request 1267069 from editors
OBS-URL: https://build.opensuse.org/request/show/1267069 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vim?expand=0&rev=384
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 1 16:22:17 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
|
||||
|
||||
- add -std=gnu11 to CFLAGS to fix gcc15 compile time error, and to
|
||||
still allow build on Leap 15.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 29 15:25:13 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
|
4
vim.spec
4
vim.spec
@@ -228,7 +228,9 @@ cp %{SOURCE23} runtime/syntax/apparmor.vim
|
||||
cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} .
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -Wall -pipe -fno-strict-aliasing"
|
||||
## about -std=gnu17 see github.com/vim/vim/issues/16575;
|
||||
## use -std=gnu11 here to allow build on Leap 15.6
|
||||
export CFLAGS="%{optflags} -Wall -pipe -fno-strict-aliasing -std=gnu11"
|
||||
export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=1}
|
||||
|
||||
export COMMON_OPTIONS="\
|
||||
|
Reference in New Issue
Block a user