summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-26 15:02:35 -0400
committerSam James <sam@gentoo.org>2024-03-26 20:23:27 +0000
commit701bc30b5e597655e5cdf02a74c64836333b61e3 (patch)
tree14314d134691d1b8ca89a37a8e87aa0a5b15f881 /sci-libs/opencascade
parentnet-libs/xdp-tools: forward ~ppc to 1.4.2 (diff)
downloadgentoo-701bc30b5e597655e5cdf02a74c64836333b61e3.tar.gz
gentoo-701bc30b5e597655e5cdf02a74c64836333b61e3.tar.bz2
gentoo-701bc30b5e597655e5cdf02a74c64836333b61e3.zip
sci-libs/opencascade: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/862912 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/opencascade')
-rw-r--r--sci-libs/opencascade/opencascade-7.7.0-r2.ebuild7
-rw-r--r--sci-libs/opencascade/opencascade-7.7.1.ebuild7
-rw-r--r--sci-libs/opencascade/opencascade-7.7.2.ebuild7
-rw-r--r--sci-libs/opencascade/opencascade-7.8.0.ebuild7
-rw-r--r--sci-libs/opencascade/opencascade-9999.ebuild7
5 files changed, 30 insertions, 5 deletions
diff --git a/sci-libs/opencascade/opencascade-7.7.0-r2.ebuild b/sci-libs/opencascade/opencascade-7.7.0-r2.ebuild
index 547ddb45705a..9db1978c27a0 100644
--- a/sci-libs/opencascade/opencascade-7.7.0-r2.ebuild
+++ b/sci-libs/opencascade/opencascade-7.7.0-r2.ebuild
@@ -5,7 +5,7 @@
EAPI=8
-inherit cmake
+inherit cmake flag-o-matic
MY_SLOT="$(ver_cut 1-2)"
MY_PV="$(ver_rs 3 '-')"
@@ -82,6 +82,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/862912
+ # https://tracker.dev.opencascade.org/view.php?id=33091
+ filter-lto
+
local mycmakeargs=(
-DBUILD_DOC_Overview=$(usex doc)
-DBUILD_Inspector=$(usex examples)
diff --git a/sci-libs/opencascade/opencascade-7.7.1.ebuild b/sci-libs/opencascade/opencascade-7.7.1.ebuild
index d9ef51dd1f11..58050d6c5717 100644
--- a/sci-libs/opencascade/opencascade-7.7.1.ebuild
+++ b/sci-libs/opencascade/opencascade-7.7.1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake virtualx
+inherit cmake flag-o-matic virtualx
DESCRIPTION="Development platform for CAD/CAE, 3D surface/solid modeling and data exchange"
HOMEPAGE="https://www.opencascade.com"
@@ -133,6 +133,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/862912
+ # https://tracker.dev.opencascade.org/view.php?id=33091
+ filter-lto
+
local mycmakeargs=(
-D3RDPARTY_DIR="${ESYSROOT}/usr"
-DBUILD_CPP_STANDARD="C++17"
diff --git a/sci-libs/opencascade/opencascade-7.7.2.ebuild b/sci-libs/opencascade/opencascade-7.7.2.ebuild
index 606592c2b231..a83c28ed566c 100644
--- a/sci-libs/opencascade/opencascade-7.7.2.ebuild
+++ b/sci-libs/opencascade/opencascade-7.7.2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake virtualx
+inherit cmake flag-o-matic virtualx
DESCRIPTION="Development platform for CAD/CAE, 3D surface/solid modeling and data exchange"
HOMEPAGE="https://www.opencascade.com"
@@ -133,6 +133,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/862912
+ # https://tracker.dev.opencascade.org/view.php?id=33091
+ filter-lto
+
local mycmakeargs=(
-D3RDPARTY_DIR="${ESYSROOT}/usr"
-DBUILD_CPP_STANDARD="C++17"
diff --git a/sci-libs/opencascade/opencascade-7.8.0.ebuild b/sci-libs/opencascade/opencascade-7.8.0.ebuild
index 33ab0630c4c9..ffa9e2065e14 100644
--- a/sci-libs/opencascade/opencascade-7.8.0.ebuild
+++ b/sci-libs/opencascade/opencascade-7.8.0.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake virtualx
+inherit cmake flag-o-matic virtualx
DESCRIPTION="Development platform for CAD/CAE, 3D surface/solid modeling and data exchange"
HOMEPAGE="https://www.opencascade.com"
@@ -134,6 +134,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/862912
+ # https://tracker.dev.opencascade.org/view.php?id=33091
+ filter-lto
+
local mycmakeargs=(
-D3RDPARTY_DIR="${ESYSROOT}/usr"
-DBUILD_CPP_STANDARD="C++17"
diff --git a/sci-libs/opencascade/opencascade-9999.ebuild b/sci-libs/opencascade/opencascade-9999.ebuild
index 2f819b1746e8..e3da366e699f 100644
--- a/sci-libs/opencascade/opencascade-9999.ebuild
+++ b/sci-libs/opencascade/opencascade-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake virtualx
+inherit cmake flag-o-matic virtualx
DESCRIPTION="Development platform for CAD/CAE, 3D surface/solid modeling and data exchange"
HOMEPAGE="https://www.opencascade.com"
@@ -134,6 +134,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/862912
+ # https://tracker.dev.opencascade.org/view.php?id=33091
+ filter-lto
+
local mycmakeargs=(
-D3RDPARTY_DIR="${ESYSROOT}/usr"
-DBUILD_CPP_STANDARD="C++17"