Disable -Wcast-align which causes problems with gtk-doc scanner on arm7
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
6f336dedcc
commit
f203fc1321
11
libvirt-glib-4.0.0-cast-align.patch
Normal file
11
libvirt-glib-4.0.0-cast-align.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff -rup libvirt-glib-4.0.0.orig/meson.build libvirt-glib-4.0.0.new/meson.build
|
||||
--- libvirt-glib-4.0.0.orig/meson.build 2021-02-15 12:23:04.609036200 +0000
|
||||
+++ libvirt-glib-4.0.0.new/meson.build 2021-02-15 14:39:27.150071607 +0000
|
||||
@@ -175,7 +175,6 @@ cc_flags += [
|
||||
'-Wbuiltin-declaration-mismatch',
|
||||
'-Wbuiltin-macro-redefined',
|
||||
'-Wcannot-profile',
|
||||
- '-Wcast-align',
|
||||
'-Wcast-align=strict',
|
||||
'-Wcast-function-type',
|
||||
'-Wchar-subscripts',
|
@ -7,6 +7,7 @@ Summary: libvirt glib integration for events
|
||||
License: LGPLv2+
|
||||
URL: https://libvirt.org/
|
||||
Source0: https://libvirt.org/sources/glib/%{name}-%{version}.tar.xz
|
||||
Patch1: %{name}-%{version}-cast-align.patch
|
||||
|
||||
BuildRequires: meson
|
||||
BuildRequires: glib2-devel
|
||||
@ -64,6 +65,7 @@ managing virtualization host objects
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%meson -Drpath=disabled
|
||||
|
Loading…
Reference in New Issue
Block a user