From a2f0fb34f34533343406ebfc89ff7f7f9d03775b Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 14 May 2013 19:16:43 +0000 Subject: Force realigning the stack for Clang on AMD64 as Hotspot creates misaligned stack frames. --- lang/openjdk7/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lang') diff --git a/lang/openjdk7/Makefile b/lang/openjdk7/Makefile index 9d9b2ac32b5..e22b5d51979 100644 --- a/lang/openjdk7/Makefile +++ b/lang/openjdk7/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.45 2013/04/06 13:24:19 rodent Exp $ +# $NetBSD: Makefile,v 1.46 2013/05/14 19:16:43 joerg Exp $ DISTNAME= openjdk-7-fcs-src-b147-27_jun_2011 PKGNAME= openjdk7-1.7.0.147.20110811 @@ -87,6 +87,9 @@ _WRAP_EXTRA_ARGS.CXX+= -Wno-parentheses -Wno-sign-conversion \ -Wno-delete-non-virtual-dtor \ -Wno-return-type -Wno-unused-parameter \ -Wno-parentheses-equality -Wno-empty-body +. if ${MACHINE_ARCH} == "x86_64" +_WRAP_EXTRA_ARGS.CXX+= -mstackrealign +. endif .endif .include "bootstrap.mk" .include "icedtea-extras.mk" -- cgit v1.2.3