Accepting request 800082 from home:michel_mno:branches:X11:XOrg

- avoid build error PowerPC, using gnu++14 (not gnu++11)
  https://bugzilla.opensuse.org/show_bug.cgi?id=1171045

OBS-URL: https://build.opensuse.org/request/show/800082
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=953
This commit is contained in:
Stefan Dirsch 2020-05-04 19:41:33 +00:00 committed by Git OBS Bridge
parent e78da08812
commit 6280eeb61a
4 changed files with 24 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 4 13:47:59 UTC 2020 - Michel Normand <normand@linux.vnet.ibm.com>
- avoid build error PowerPC, using gnu++14 (not gnu++11)
https://bugzilla.opensuse.org/show_bug.cgi?id=1171045
-------------------------------------------------------------------
Thu Apr 30 14:46:25 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -753,6 +753,12 @@ grep -v -i vulkan "%{_sourcedir}/baselibs.conf" >"%{_sourcedir}/temp" && \
mv "%{_sourcedir}/temp" "%{_sourcedir}/baselibs.conf"
%endif
# Avoid build error for PowerPC
# https://bugzilla.opensuse.org/show_bug.cgi?id=1171045
%ifarch ppc64 ppc64le
sed -i -e s/cpp_std=gnu++11/cpp_std=gnu++14/g meson.build
%endif
%build
egl_platforms=x11,drm,surfaceless,wayland

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 4 13:47:59 UTC 2020 - Michel Normand <normand@linux.vnet.ibm.com>
- avoid build error PowerPC, using gnu++14 (not gnu++11)
https://bugzilla.opensuse.org/show_bug.cgi?id=1171045
-------------------------------------------------------------------
Thu Apr 30 14:46:25 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -752,6 +752,12 @@ grep -v -i vulkan "%{_sourcedir}/baselibs.conf" >"%{_sourcedir}/temp" && \
mv "%{_sourcedir}/temp" "%{_sourcedir}/baselibs.conf"
%endif
# Avoid build error for PowerPC
# https://bugzilla.opensuse.org/show_bug.cgi?id=1171045
%ifarch ppc64 ppc64le
sed -i -e s/cpp_std=gnu++11/cpp_std=gnu++14/g meson.build
%endif
%build
egl_platforms=x11,drm,surfaceless,wayland