]> git.pld-linux.org Git - packages/dx.git/commitdiff
- build at most in C++14 mode; release 25 master auto/th/dx-4.4.4-25
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 3 Dec 2023 18:29:35 +0000 (19:29 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 3 Dec 2023 18:29:35 +0000 (19:29 +0100)
dx.spec

diff --git a/dx.spec b/dx.spec
index 3c2ba51663f197d73c1f7295bd96b82bb5405644..4c5e9321ace8a704122b1366fb36bde58044c60a 100644 (file)
--- a/dx.spec
+++ b/dx.spec
@@ -2,7 +2,7 @@ Summary:        Excellent tool for making visualization of data
 Summary(pl.UTF-8):     Doskonałe narzędzie do wizualizacji danych
 Name:          dx
 Version:       4.4.4
-Release:       24
+Release:       25
 License:       IPL
 Group:         Applications/Science
 Source0:       http://opendx.npaci.edu/source/%{name}-%{version}.tar.gz
@@ -145,6 +145,10 @@ Przykłady dla OpenDX.
 %patch11 -p1
 
 %build
+%if "%{_ver_ge '%{cxx_version}' '11.0'}" == "1"
+# lower C++ standard because C++17 std::byte conflicts with local "byte" define
+export CXXFLAGS="%{rpmcxxflags} -std=c++14"
+%endif
 %{__libtoolize}
 %{__aclocal} -I m4
 %{__autoheader}
This page took 0.118668 seconds and 4 git commands to generate.