fix install error with clang toolchain
This commit is contained in:
parent
be735a3d7a
commit
bb907f11d3
@ -1,6 +1,6 @@
|
||||
Name: metacity
|
||||
Version: 3.37.1
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: Window Manager for the MATE and GNOME Flashback desktops
|
||||
License: GPLv2+
|
||||
URL: https://download.gnome.org/sources/metacity/
|
||||
@ -46,7 +46,7 @@ developing applications that use %{name}.
|
||||
rm -f src/org.gnome.metacity.gschema.valid
|
||||
|
||||
%build
|
||||
CPPFLAGS="$CPPFLAGS -I$RPM_BUILD_ROOT%{_includedir}"
|
||||
CPPFLAGS="$CPPFLAGS -I%{_builddir}/%{_includedir}"
|
||||
export CPPFLAGS
|
||||
rm -f configure
|
||||
(if ! test -x configure; then autoreconf -i -f; fi;
|
||||
@ -88,6 +88,9 @@ make CPPFLAGS="$CPPFLAGS" LIBS="$LIBS" %{?_smp_mflags}
|
||||
%{_mandir}/man1/*.gz
|
||||
|
||||
%changelog
|
||||
* Mon Aug 14 2023 liyunfei <liyunfei33@huawei.com> - 3.37.1-5
|
||||
- fix install error with clang toolchain
|
||||
|
||||
* Mon Aug 07 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 3.37.1-4
|
||||
- fix build error
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user