Restore --eh-frame-hdr for static binaries.
This commit is contained in:
parent
a984d4dff8
commit
c1a5bf052c
|
@ -197,7 +197,7 @@ along with GCC; see the file COPYING3. If not see
|
|||
#undef WINT_TYPE
|
||||
#define WINT_TYPE "int"
|
||||
|
||||
#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
|
||||
#define LINK_EH_SPEC "--eh-frame-hdr "
|
||||
|
||||
/* Use --as-needed -lgcc_s for eh support. */
|
||||
#ifdef HAVE_LD_AS_NEEDED
|
||||
|
|
Loading…
Reference in New Issue