diff options
| author | Alfred Wingate <parona@protonmail.com> | 2025-02-27 19:41:54 +0200 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-05-18 16:22:00 +0100 |
| commit | 678d182b6697a58987be422b57a364df7802c283 (patch) | |
| tree | 17a182433e807ab46fa6f8b44d1b3ac0b1b0bf6f /gnustep-base/libobjc2/files/libobjc-2.2.1-remove-flags-from-eh_trampoline.patch | |
| parent | 8af7d33ccacc2cadfa0a535330071e3caf870684 (diff) | |
| download | gentoo-678d182b6697a58987be422b57a364df7802c283.tar.gz gentoo-678d182b6697a58987be422b57a364df7802c283.tar.bz2 gentoo-678d182b6697a58987be422b57a364df7802c283.zip | |
gnustep-base/libobjc2: fix exception handling
Bug: https://bugs.gentoo.org/871933
Bug: https://bugs.gentoo.org/926875
Bug: https://bugs.gentoo.org/940647
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42071
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'gnustep-base/libobjc2/files/libobjc-2.2.1-remove-flags-from-eh_trampoline.patch')
| -rw-r--r-- | gnustep-base/libobjc2/files/libobjc-2.2.1-remove-flags-from-eh_trampoline.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnustep-base/libobjc2/files/libobjc-2.2.1-remove-flags-from-eh_trampoline.patch b/gnustep-base/libobjc2/files/libobjc-2.2.1-remove-flags-from-eh_trampoline.patch new file mode 100644 index 000000000000..4f5e786c29c3 --- /dev/null +++ b/gnustep-base/libobjc2/files/libobjc-2.2.1-remove-flags-from-eh_trampoline.patch @@ -0,0 +1,28 @@ +https://bugs.gentoo.org/926875 +https://bugs.gentoo.org/940647 +https://github.com/gnustep/libobjc2/pull/288 +https://github.com/gnustep/libobjc2/commit/4a0c2f1afee5a6c618d51fb33efb9ccb95b808b8 +https://github.com/gnustep/libobjc2/issues/177 + +From 4a0c2f1afee5a6c618d51fb33efb9ccb95b808b8 Mon Sep 17 00:00:00 2001 +From: Frederik Carlier <frederik.carlier@keysight.com> +Date: Tue, 2 Apr 2024 14:53:43 +0200 +Subject: [PATCH] Don't use CXXFLAGS when compiling eh_trampoline.cc + +We don't want the user to override these flags because that file +needs to be compiled in a very specific way. + +Re-applies #178 (365e53632e8be41e49f21ee47a63e41be424a237) +Related to #183 +Fixes #177 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -230,7 +230,7 @@ elseif (MINGW) + message(STATUS "Using MinGW-compatible exception model") + list(APPEND libobjc_CXX_SRCS objcxx_eh.cc objcxx_eh_mingw.cc) + else () +- separate_arguments(EH_PERSONALITY_FLAGS NATIVE_COMMAND ${CMAKE_CXX_FLAGS}) ++ set(EH_PERSONALITY_FLAGS "") + if (CMAKE_CXX_COMPILER_TARGET) + list(APPEND EH_PERSONALITY_FLAGS "${CMAKE_CXX_COMPILE_OPTIONS_TARGET}${CMAKE_CXX_COMPILER_TARGET}") + endif () |
