freebsd-ports/lang/gcc9-devel/files/extra-patch-libgcc_config_rs6000_t-crtstuff
Gerald Pfeifer 790d94237e Pull in files/extra-patch-libgcc_config_rs6000_t-crtstuff from r532950
to work around the 13 years old GCC 4.2 system compiler on powerpc64 in
those cases we are using that.

PR:		245511
Submitted by:	pkubaj
2020-05-27 09:41:36 +00:00

8 lines
454 B
Text

--- libgcc/config/rs6000/t-crtstuff.orig 2020-04-07 15:17:50 UTC
+++ libgcc/config/rs6000/t-crtstuff
@@ -3,4 +3,4 @@
# Do not build crtend.o with -Os as that can result in references to
# out-of-line register save/restore functions, which may be unresolved
# as crtend.o is linked after libgcc.a. See PR45053.
-CRTSTUFF_T_CFLAGS = -msdata=none -O2 -fno-asynchronous-unwind-tables
+CRTSTUFF_T_CFLAGS = -msdata=none -O0 -fno-asynchronous-unwind-tables