Pass the proper cflags to plugin compilation
CFLAGS isn't passed down to plugin compilation, but EXTRA_CFLAGS is. It should fix the annocheck failure. Resolves: RHEL-33502 Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
This commit is contained in:
parent
bb61fa7271
commit
d78d86b383
@ -5,7 +5,7 @@
|
||||
|
||||
Name: libtraceevent
|
||||
Version: 1.8.4
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: LGPL-2.1-only AND LGPL-2.1-or-later AND GPL-2.0-only AND GPL-2.0-or-later
|
||||
Summary: Library to parse raw trace event formats
|
||||
|
||||
@ -40,7 +40,7 @@ Development headers of %{name}-libs
|
||||
%build
|
||||
MANPAGE_DOCBOOK_XSL=`rpm -ql docbook-style-xsl | grep manpages/docbook.xsl`
|
||||
# Parallel build does not work
|
||||
make -O -j1 V=1 VERBOSE=1 CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" prefix=%{_prefix} libdir=%{_libdir} MANPAGE_XSL=%{MANPAGE_DOCBOOK_XSL} all doc
|
||||
make -O -j1 V=1 VERBOSE=1 EXTRA_CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" prefix=%{_prefix} libdir=%{_libdir} MANPAGE_XSL=%{MANPAGE_DOCBOOK_XSL} all doc
|
||||
|
||||
%install
|
||||
%make_install prefix=%{_prefix} libdir=%{_libdir} install doc-install
|
||||
@ -64,6 +64,9 @@ rm -rf %{buildroot}/%{_libdir}/libtraceevent.a
|
||||
%{_libdir}/pkgconfig/libtraceevent.pc
|
||||
|
||||
%changelog
|
||||
* Thu Oct 24 2024 Jerome Marchand <jmarchan@redhat.com> - 1.8.4-2
|
||||
- Use EXTRA_CFLAGS to fix annocheck (RHEL-33502)
|
||||
|
||||
* Thu Oct 24 2024 Jerome Marchand <jmarchan@redhat.com> - 1.8.4-1
|
||||
- Update to 1.8.4 (RHEL-61627)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user