void-packages/srcpkgs/mesa/patches/clover-ppc64-cpp14.patch

14 lines
333 B
Diff
Raw Normal View History

2020-05-08 04:13:35 +00:00
LLVM10 headers need C++14, so override the override.
--- meson.build
+++ meson.build
@@ -730,7 +730,7 @@ if _opencl != 'disabled'
#error "AltiVec not enabled"
#endif''',
name : 'Altivec')
- clover_cpp_std += ['cpp_std=gnu++11']
+ clover_cpp_std += ['cpp_std=gnu++14']
endif
else
dep_clc = null_dep