freebsd-ports/lang/gcc9-devel/files/extra-patch-libgcc_config_rs6000_t-crtstuff

9 lines
454 B
Text
Raw Normal View History

--- 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