only apply move elision to recent GCC versions
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/rttr?expand=0&rev=10
This commit is contained in:
parent
3f983d348c
commit
d13617ed8c
@ -58,7 +58,12 @@ library itself, which is written in C++.
|
|||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
|
|
||||||
|
#only apply move elision to gcc versions that support it
|
||||||
|
%if 0%{?suse_version} < 1500
|
||||||
|
%else
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
find . -type f -exec chmod a-x "{}" +
|
find . -type f -exec chmod a-x "{}" +
|
||||||
|
Loading…
Reference in New Issue
Block a user