From: Jason Merrill Date: Tue, 6 Dec 1994 20:09:44 +0000 (+0000) Subject: t-sol2 (CRTSTUFF_T_CFLAGS): Don't use PIC if cross-compiling, use the native assemble... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5461708de74fd76f1a553e5f8a4f42cfb47bb4b2;p=gcc.git t-sol2 (CRTSTUFF_T_CFLAGS): Don't use PIC if cross-compiling, use the native assembler otherwise. Mon Dec 5 19:32:48 1994 Jason Merrill * sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Don't use PIC if cross-compiling, use the native assembler otherwise. From-SVN: r8615 --- diff --git a/gcc/config/sparc/t-sol2 b/gcc/config/sparc/t-sol2 index 1160c879f86..2aed1fd04a2 100644 --- a/gcc/config/sparc/t-sol2 +++ b/gcc/config/sparc/t-sol2 @@ -23,4 +23,8 @@ crtn.o: $(srcdir)/config/sparc/sol2-cn.asm # we will be doing that, we just always use -fpic when compiling the # routines in crtstuff.c. -CRTSTUFF_T_CFLAGS = -fpic +# Since the GNU assembler doesn't support PIC yet, we need to force gcc to +# use the native assembler when building crtstuff. If we're a +# cross-compiler, just give up on using PIC. + +CRTSTUFF_T_CFLAGS = `if [ -z "$(CROSS)" ]; then echo -fpic -B/usr/ccs/bin/; fi`