Module Name: src
Committed By: martin
Date: Tue May 10 10:23:09 UTC 2016
Modified Files:
src/lib/csu/common: Makefile.inc
Log Message:
We need the -O1 hack (for gcc 5.3) for crtbegin.c as well.
Works around PR toolchain/51121.
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/lib/csu/common/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/csu/common/Makefile.inc
diff -u src/lib/csu/common/Makefile.inc:1.30 src/lib/csu/common/Makefile.inc:1.31
--- src/lib/csu/common/Makefile.inc:1.30 Sun May 1 07:25:46 2016
+++ src/lib/csu/common/Makefile.inc Tue May 10 10:23:09 2016
@@ -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 @@ CFLAGS.crtbegin.c+= -fPIE
!exists(${ARCHDIR}/crtbegin.S)
CFLAGS.crt0-common.c+= -O1
CFLAGS.crtbeginS.c+= -O1
+CFLAGS.crtbegin.c+= -O1
. endif
.endif