-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avoid gcc linker tripping over -nostdlib++
- Loading branch information
1 parent
cb26ae9
commit 4095fd7
Showing
7 changed files
with
39 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
recipe/patches/0004-Revert-libc-Remove-workaround-for-C11-features-on-co.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
recipe/patches/0005-disable-_LIBCPP_AVAILABILITY_HAS_INIT_PRIMARY_EXCEPT.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
recipe/patches/0006-set-CXX-as-language-for-libunwind-to-avoid-running-i.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
From 7d1809e27c49dadf14b791cdc93a1ea58a2d8def Mon Sep 17 00:00:00 2001 | ||
From: "H. Vetinari" <h.vetinari@gmx.com> | ||
Date: Sun, 26 May 2024 13:01:28 +1100 | ||
Subject: [PATCH 6/6] set CXX as language for libunwind to avoid running into | ||
unknown flags for CC | ||
|
||
--- | ||
libunwind/src/CMakeLists.txt | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/libunwind/src/CMakeLists.txt b/libunwind/src/CMakeLists.txt | ||
index 780430ba70ba..2cf2c8c0f1f7 100644 | ||
--- a/libunwind/src/CMakeLists.txt | ||
+++ b/libunwind/src/CMakeLists.txt | ||
@@ -168,7 +168,7 @@ if (LIBUNWIND_ENABLE_SHARED) | ||
set_target_properties(unwind_shared | ||
PROPERTIES | ||
LINK_FLAGS "${LIBUNWIND_LINK_FLAGS}" | ||
- LINKER_LANGUAGE C | ||
+ LINKER_LANGUAGE CXX | ||
OUTPUT_NAME "${LIBUNWIND_SHARED_OUTPUT_NAME}" | ||
VERSION "1.0" | ||
SOVERSION "1" | ||
@@ -214,7 +214,7 @@ if (LIBUNWIND_ENABLE_STATIC) | ||
set_target_properties(unwind_static | ||
PROPERTIES | ||
LINK_FLAGS "${LIBUNWIND_LINK_FLAGS}" | ||
- LINKER_LANGUAGE C | ||
+ LINKER_LANGUAGE CXX | ||
OUTPUT_NAME "${LIBUNWIND_STATIC_OUTPUT_NAME}" | ||
) | ||
|