Files
reactos/sdk/cmake
Ahmed Arif 129623416c [SDK][CMAKE] Link libgcc_eh into C++ targets when available
The build uses -nostdlib which prevents GCC from auto-linking libgcc_eh.a. This library provides the SEH unwind symbols (_Unwind_Resume, __emutls_get_address, etc.) needed by C++ exception handling. Without it, any C++ target compiled with -fexceptions fails to link with undefined references to these symbols.

Add a libgcc_eh INTERFACE target that conditionally pulls in libgcc_eh.a when the toolchain provides it (as on SEH-enabled x86_64), falling back to a no-op otherwise (SJLJ/DWARF toolchains).
2026-06-08 16:51:52 +00:00
..
2025-03-24 18:05:28 +00:00