SHA256
1
0
forked from pool/dhcp

Accepting request 781033 from network:dhcp

- Add -fcommon to CFLAGS to fix build with gcc10 (boo#1160262).

OBS-URL: https://build.opensuse.org/request/show/781033
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=117
This commit is contained in:
Dominique Leuenberger 2020-03-05 22:17:29 +00:00 committed by Git OBS Bridge
commit 56d7362579
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 2 17:26:39 UTC 2020 - Reinhard Max <max@suse.com>
- Add -fcommon to CFLAGS to fix build with gcc10 (boo#1160262).
-------------------------------------------------------------------
Wed Jan 22 06:12:51 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -220,7 +220,7 @@ popd
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
CFLAGS="%{optflags} -D_GNU_SOURCE -W -Wall -Wno-unused"
CFLAGS="%{optflags} -D_GNU_SOURCE -W -Wall -Wno-unused -fcommon"
%ifarch ppc ppc64 s390x
# bugs 134590, 171532
CFLAGS="$CFLAGS -fsigned-char"