Revert -O1 hack for GCC 5.3, replaced by workaround in the code.
This commit is contained in:
parent
ad68895fdb
commit
b940261f81
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.31 2016/05/10 10:23:09 martin Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.32 2016/06/01 21:24:55 joerg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -17,14 +17,6 @@ OBJS+= sysident.o
|
||||
.if ${MKPIC} == "yes"
|
||||
OBJS+= crtbeginS.o
|
||||
CFLAGS.crtbegin.c+= -fPIE
|
||||
# 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 && \
|
||||
!exists(${ARCHDIR}/crtbegin.S)
|
||||
CFLAGS.crt0-common.c+= -O1
|
||||
CFLAGS.crtbeginS.c+= -O1
|
||||
CFLAGS.crtbegin.c+= -O1
|
||||
. endif
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "alpha"
|
||||
|
Loading…
Reference in New Issue
Block a user