diff --git a/scripts/gccnewlib/gccnewlib.spec.in b/scripts/gccnewlib/gccnewlib.spec.in index abbf382a34..646e885cd9 100644 --- a/scripts/gccnewlib/gccnewlib.spec.in +++ b/scripts/gccnewlib/gccnewlib.spec.in @@ -75,7 +75,7 @@ This is gcc's and newlib C Library's sources with patches for RTEMS. cd build ../gcc-@gcc_version@/configure --target=@target_alias@ \ --with-gnu-as --with-gnu-ld --with-newlib --verbose \ - --prefix=/opt/rtems + --enable-threads --prefix=/opt/rtems # for now we are building all the languages # '--enable-languages=c,c++' diff --git a/scripts/gccnewlib/gccnewlib_c_only.spec.in b/scripts/gccnewlib/gccnewlib_c_only.spec.in index a543e3b1b4..ff7c583a66 100644 --- a/scripts/gccnewlib/gccnewlib_c_only.spec.in +++ b/scripts/gccnewlib/gccnewlib_c_only.spec.in @@ -91,7 +91,7 @@ This is gcc and newlib C Library for @target_alias@. cd build ../gcc-@gcc_version@/configure --target=@target_alias@ \ --with-gnu-as --with-gnu-ld --with-newlib --verbose \ - --prefix=/opt/rtems '--enable-languages=c,c++' + --enable-threads --prefix=/opt/rtems '--enable-languages=c,c++' make all make info