Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/csu/common Revert previous (fallout is more subtle but t...
details: https://anonhg.NetBSD.org/src/rev/b48b564d5e9f
branches: trunk
changeset: 344983:b48b564d5e9f
user: martin <martin%NetBSD.org@localhost>
date: Sun May 01 07:25:46 2016 +0000
description:
Revert previous (fallout is more subtle but there).
Rework the conditionon so it depends on .S existence instead of an arch
list.
diffstat:
lib/csu/common/Makefile.inc | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r 71665e1b3de5 -r b48b564d5e9f lib/csu/common/Makefile.inc
--- a/lib/csu/common/Makefile.inc Sun May 01 04:22:50 2016 +0000
+++ b/lib/csu/common/Makefile.inc Sun May 01 07:25:46 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.29 2016/04/30 13:12:13 martin Exp $
+# $NetBSD: Makefile.inc,v 1.30 2016/05/01 07:25:46 martin Exp $
.include <bsd.own.mk>
@@ -20,8 +20,7 @@
# XXXGCC5 - GCC 5 miscompiles crtbeginS.c on many platforms. on SPARC it
# XXXGCC5 emits "clr %g1; call %g1", which is effectively jumping to zero.
. if defined(HAVE_GCC) && ${HAVE_GCC} == 53 && \
- ${CSU_MACHINE_ARCH} != "i386" && ${CSU_MACHINE_ARCH} != "amd64" && \
- ${CSU_MACHINE_ARCH} != "sparc64"
+ !exists(${ARCHDIR}/crtbegin.S)
CFLAGS.crt0-common.c+= -O1
CFLAGS.crtbeginS.c+= -O1
. endif
Home |
Main Index |
Thread Index |
Old Index