diff options
author | Bernd Waibel <waebbl-gentoo@posteo.net> | 2021-02-09 23:40:18 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-02-18 11:36:15 +0200 |
commit | 1c351b875bed560e5954ddf4db1ae25c3141f13b (patch) | |
tree | 1d996be55eecb23b571d5ed385560e26e502b05b /sci-libs/opencascade/files | |
parent | sci-libs/opencascade: fix paths in cmake config (diff) | |
download | gentoo-1c351b875bed560e5954ddf4db1ae25c3141f13b.tar.gz gentoo-1c351b875bed560e5954ddf4db1ae25c3141f13b.tar.bz2 gentoo-1c351b875bed560e5954ddf4db1ae25c3141f13b.zip |
sci-libs/opencascade: fix pre-stripping files
Closes: https://bugs.gentoo.org/769410
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sci-libs/opencascade/files')
-rw-r--r-- | sci-libs/opencascade/files/opencascade-7.4.0-Gentoo-specific-avoid-pre-stripping-files.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sci-libs/opencascade/files/opencascade-7.4.0-Gentoo-specific-avoid-pre-stripping-files.patch b/sci-libs/opencascade/files/opencascade-7.4.0-Gentoo-specific-avoid-pre-stripping-files.patch new file mode 100644 index 000000000000..0d4015cabd78 --- /dev/null +++ b/sci-libs/opencascade/files/opencascade-7.4.0-Gentoo-specific-avoid-pre-stripping-files.patch @@ -0,0 +1,30 @@ +From 2ddba09ea491ae5d18b074a2d1126d44c0a2b1f6 Mon Sep 17 00:00:00 2001 +From: Bernd Waibel <waebbl-gentoo@posteo.net> +Date: Tue, 9 Feb 2021 22:26:14 +0100 +Subject: [PATCH] [Gentoo-specific] avoid pre-stripping files + +Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> +--- + adm/cmake/occt_defs_flags.cmake | 6 ------ + 1 file changed, 6 deletions(-) + +diff --git a/adm/cmake/occt_defs_flags.cmake b/adm/cmake/occt_defs_flags.cmake +index 5484c675..4e513ab5 100644 +--- a/adm/cmake/occt_defs_flags.cmake ++++ b/adm/cmake/occt_defs_flags.cmake +@@ -137,12 +137,6 @@ elseif (DEFINED CMAKE_COMPILER_IS_GNUCXX) + set (CMAKE_CXX_FLAGS "-std=c++0x ${CMAKE_CXX_FLAGS}") + endif() + +-# Optimize size of binaries +-if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX OR MINGW) +- set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -s") +- set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -s") +-endif() +- + if (BUILD_RELEASE_DISABLE_EXCEPTIONS) + set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DNo_Exception") + set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DNo_Exception") +-- +2.30.0 + |