[packages/openvdb] - disable debuginfo on 32-bit x86, release 4

qboosh qboosh at pld-linux.org
Wed Aug 23 18:54:50 CEST 2023


commit 7516f31d19567d544593c47889e428480b39c85c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Aug 23 18:29:28 2023 +0200

    - disable debuginfo on 32-bit x86, release 4

 openvdb.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/openvdb.spec b/openvdb.spec
index dfb042d..a9c9bdc 100644
--- a/openvdb.spec
+++ b/openvdb.spec
@@ -11,7 +11,7 @@ Summary:	C++ library for sparse volumetric data discretized on three-dimensional
 Summary(pl.UTF-8):	Biblioteka C++ do rzadkich danych wolumetrycznych dyskretyzowanych na siatkach trójwymiarowych
 Name:		openvdb
 Version:	10.0.1
-Release:	3
+Release:	4
 License:	MPL v2.0
 Group:		Libraries
 #Source0Download: https://github.com/AcademySoftwareFoundation/openvdb/releases
@@ -41,6 +41,11 @@ BuildRequires:	tbb-devel >= 2020.2
 BuildRequires:	zlib-devel >= 1.2.7
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%ifarch %{ix86} x32
+# ld (at last 2.41) fails to link with debuginfo (probably too big)
+%define		_enable_debug_packages		0
+%endif
+
 %description
 OpenVDB is an open source C++ library comprising a novel hierarchical
 data structure and a large suite of tools for the efficient storage
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openvdb.git/commitdiff/7516f31d19567d544593c47889e428480b39c85c



More information about the pld-cvs-commit mailing list