OSDN Git Service

2003-01-29 Joel Sherrill <joel@OARcorp.com>
[pf3gnuchains/gcc-fork.git] / gcc / config.gcc
index f839ba9..a5a1fce 100644 (file)
@@ -806,8 +806,11 @@ hppa1.1-*-rtems*)
        xm_defines=POSIX
        target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)"
        tm_file="${tm_file} pa/pa32-regs.h dbxelf.h elfos.h pa/elf.h pa/pa-pro-end.h libgloss.h pa/rtems.h rtems.h"
-       tmake_file="pa/t-bsd pa/t-pro"
+       tmake_file="pa/t-bsd pa/t-pro t-rtems"
        xmake_file="pa/x-ada"
+       if test x$enable_threads = xyes; then
+         thread_file='rtems'
+       fi
        ;;
 hppa1.0-*-osf*)
        tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-osf.h"