* i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
So egcs-1.0.1 will build/run out of the box on x86-solaris.
From-SVN: r17151
Fri Dec 19 09:39:48 1997 Jeffrey A Law (law@cygnus.com)
+ * i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
+
* stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR.
* stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
# to produce a shared library, but since we don't know ahead of time when
# we will be doing that, we just always use -fPIC when compiling the
# routines in crtstuff.c.
+#
+# We must also enable optimization to avoid having any code appear after
+# the call & alignment statement, but before we switch back to the
+# .text section.
-CRTSTUFF_T_CFLAGS = -fPIC
+CRTSTUFF_T_CFLAGS = -fPIC -O2
TARGET_LIBGCC2_CFLAGS = -fPIC