Accepting request 986218 from home:ecsos

- Fix Tumbleweed build and install error boo#1201070.
  Use own CFLAGS for Tumblweed with -D_FORTIFY_SOURCE=2 instead of -D_FORTIFY_SOURCE=3.

OBS-URL: https://build.opensuse.org/request/show/986218
OBS-URL: https://build.opensuse.org/package/show/network/nextcloud-desktop?expand=0&rev=63
This commit is contained in:
Eric Schirra 2022-07-01 11:35:40 +00:00 committed by Git OBS Bridge
parent 65d5435634
commit d42ce01762
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jul 1 11:08:59 UTC 2022 - ecsos <ecsos@opensuse.org>
- Fix Tumbleweed build and install error boo#1201070.
Use own CFLAGS for Tumblweed with -D_FORTIFY_SOURCE=2 instead of -D_FORTIFY_SOURCE=3.
-------------------------------------------------------------------
Tue May 17 16:42:55 UTC 2022 - ecsos <ecsos@opensuse.org>

View File

@ -180,6 +180,11 @@ Dolphin filemanager to display overlay icons.
cp -a %{SOURCE1} sysctl-sync-inotify.conf
%build
%if %{?suse_version} > 1500
CFLAGS="-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type"
%endif
%cmake \
%if 0%{?is_opensuse}
-DWITH_DOC=ON \