diff --git a/gcc/gcc/config/rs6000/macos.h b/gcc/gcc/config/rs6000/macos.h index be3223471a..4401535bfb 100644 --- a/gcc/gcc/config/rs6000/macos.h +++ b/gcc/gcc/config/rs6000/macos.h @@ -69,6 +69,8 @@ /* Profiled library versions are used by linking with special directories. */ #define LIB_SPEC "-lc" +#define LIBGCC_SPEC "-lretrocrt -lgcc" + /* Static linking with shared libstdc++ requires libsupc++ as well. */ #define LIBSTDCXX_STATIC "supc++"