Do not force C++11 mode

This commit is contained in:
Jeff Law 2020-08-26 12:29:41 -06:00
parent 8d65cc2f5a
commit 3a3ed04f02
1 changed files with 5 additions and 2 deletions

View File

@ -4,7 +4,7 @@
Name: pocl
%global ver 1.5
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(string.lower(ver))}
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Portable Computing Language - an OpenCL implementation
# The whole code is under MIT
# except include/utlist.h which is under BSD (and unbundled) and
@ -75,7 +75,7 @@ find . -depth -name utlist* -print -delete
%cmake .. \
-DENABLE_ICD=1 \
-DPOCL_INSTALL_ICD_VENDORDIR=%{_sysconfdir}/OpenCL/vendors \
-DEXTRA_KERNEL_CXX_FLAGS="%{optflags} -std=c++11" \
-DEXTRA_KERNEL_CXX_FLAGS="%{optflags}" \
%ifarch %{ix86} x86_64
-DKERNELLIB_HOST_CPU_VARIANTS=distro \
%endif
@ -123,6 +123,9 @@ find . -depth -name utlist* -print -delete
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Wed Aug 26 2020 Jeff Law <law@redhat.com> - 1.5-8
- Do not force C++11 mode
* Tue Aug 11 2020 Tom Stellard <tstellar@redhat.com> - 1.5-7
- Rebuild for LLVM11