diff --git a/lib/libsys/arm/Makefile.sys b/lib/libsys/arm/Makefile.sys index 424d2f9cc9d8..e8b420932031 100644 --- a/lib/libsys/arm/Makefile.sys +++ b/lib/libsys/arm/Makefile.sys @@ -1,8 +1,13 @@ SRCS+= __vdso_gettc.c \ pdrfork_thread_gen.c \ rfork_thread_gen.c \ sched_getcpu_gen.c MDASM= \ cerror.S \ vfork.S + +.if ${LIB} == "sys" +.PATH: ${LIBSYS_SRCTOP}/../libc/arm/aeabi +SRCS+= aeabi_unwind_cpp.c +.endif