Always use __builtin_frame_address for Clang. The fallback using alloca
gets optimised away by it. XXX This can most likely supersede hacks.mk
This commit is contained in:
parent
33cc8e785a
commit
386ee12a2b
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.68 2011/12/28 16:40:06 taca Exp $
|
||||
# $NetBSD: Makefile,v 1.69 2012/01/20 17:05:11 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= ${RUBY_DISTNAME}
|
||||
|
@ -47,6 +47,10 @@ CONFIGURE_ENV+= LDSHARED="${CC} -G"
|
|||
LIBS.SunOS+= -lm
|
||||
.endif
|
||||
|
||||
.if !empty(PKGSRC_COMPILER:Mclang)
|
||||
CONFIGURE_ARGS+= --enable-frame-address
|
||||
.endif
|
||||
|
||||
# Ruby build process depends on config.status's content
|
||||
CONFIG_STATUS_OVERRIDE= # empty
|
||||
|
||||
|
|
Loading…
Reference in a new issue