diff --git a/libexec/rtld-elf/rtld_c18n.c b/libexec/rtld-elf/rtld_c18n.c index e013c504624a..655be6b9e3e4 100644 --- a/libexec/rtld-elf/rtld_c18n.c +++ b/libexec/rtld-elf/rtld_c18n.c @@ -866,6 +866,12 @@ struct jmp_args _rtld_unw_setcontext(struct jmp_args ret, void *p __unused, void *rcsp, void **buf) { + /* + * FIXME: Temporary variable before ubiq-c18n lands. + */ +#ifndef C18N_ENABLED + bool C18N_ENABLED = true; +#endif if (!C18N_ENABLED) { __attribute__((musttail)) return ( _rtld_unw_setcontext_epilogue(ret, p, rcsp, buf)); @@ -878,6 +884,12 @@ struct jmp_args _rtld_unw_setcontext_unsealed(struct jmp_args ret, void *p __unused, void *rcsp, void **buf) { + /* + * FIXME: Temporary variable before ubiq-c18n lands. + */ +#ifndef C18N_ENABLED + bool C18N_ENABLED = true; +#endif if (!C18N_ENABLED) { __attribute__((musttail)) return ( _rtld_unw_setcontext_epilogue(ret, p, rcsp, buf));