From 65120c403e5b5ac19467ec61b9708e48b0abc18d Mon Sep 17 00:00:00 2001 From: Scott Bambrough Date: Fri, 26 Mar 1999 15:30:20 +0000 Subject: Apply patch from Scott Bambrough Modified arm*-*-linux-gnu* target to set thread_file to 'posix' if --enable-threads... Apply patch from Scott Bambrough Modified arm*-*-linux-gnu* target to set thread_file to 'posix' if --enable-threads, --enable-threads=[yes,pthreads,posix] is passed as a command line parameter to configure. Modified TARGET_LIBGCC2_CFLAGS to include -fPIC. If not included libgcc2 is not compiled with PIC flag, as it should be. From-SVN: r26000 --- gcc/configure | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gcc/configure') diff --git a/gcc/configure b/gcc/configure index cac883e..d923cc9 100755 --- a/gcc/configure +++ b/gcc/configure @@ -3088,6 +3088,11 @@ for machine in $build $host $target; do tmake_file="t-linux arm/t-linux" extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" gnu_ld=yes + case x${enable_threads} in + x | xyes | xpthreads | xposix) + thread_file='posix' + ;; + esac ;; arm*-*-aout) tm_file=arm/aout.h -- cgit v1.1