]> git.pld-linux.org Git - packages/dwdiff.git/commitdiff
fix build with gcc 10
authorJan Palus <atler@pld-linux.org>
Wed, 1 Jul 2020 19:06:00 +0000 (21:06 +0200)
committerJan Palus <atler@pld-linux.org>
Wed, 1 Jul 2020 19:06:00 +0000 (21:06 +0200)
disabled -fno-common for anonymous struct

dwdiff.spec

index 4d55f843006105b13b13bf4623f53dd5e1c2fa48..a33771729840d367ef49508831ece66431b5ac39 100644 (file)
@@ -52,7 +52,7 @@ wyƛwietlane.
        --prefix="$RPM_BUILD_ROOT%{_prefix}" \
        --mandir="$RPM_BUILD_ROOT%{_mandir}" \
        CC="%{__cc}" \
-       CFLAGS="%{rpmcflags}" \
+       CFLAGS="%{rpmcflags} -fcommon" \
        LDFLAGS="%{rpmldflags}"
 %{__make}
 
This page took 0.089673 seconds and 4 git commands to generate.