Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/csu/common We need the -O1 hack (for gcc 5.3) for crtbeg...



details:   https://anonhg.NetBSD.org/src/rev/69b1ae293d9e
branches:  trunk
changeset: 815291:69b1ae293d9e
user:      martin <martin%NetBSD.org@localhost>
date:      Tue May 10 10:23:09 2016 +0000

description:
We need the -O1 hack (for gcc 5.3) for crtbegin.c as well.
Works around PR toolchain/51121.

diffstat:

 lib/csu/common/Makefile.inc |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 86e072b30b7c -r 69b1ae293d9e lib/csu/common/Makefile.inc
--- a/lib/csu/common/Makefile.inc       Tue May 10 08:08:59 2016 +0000
+++ b/lib/csu/common/Makefile.inc       Tue May 10 10:23:09 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.30 2016/05/01 07:25:46 martin Exp $
+#      $NetBSD: Makefile.inc,v 1.31 2016/05/10 10:23:09 martin Exp $
 
 .include <bsd.own.mk>
 
@@ -23,6 +23,7 @@
      !exists(${ARCHDIR}/crtbegin.S)
 CFLAGS.crt0-common.c+= -O1
 CFLAGS.crtbeginS.c+=   -O1
+CFLAGS.crtbegin.c+=    -O1
 . endif
 .endif
 



Home | Main Index | Thread Index | Old Index