diff options
author | joerg <joerg@pkgsrc.org> | 2013-05-14 19:16:43 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-05-14 19:16:43 +0000 |
commit | a2f0fb34f34533343406ebfc89ff7f7f9d03775b (patch) | |
tree | 30863657e552614de4d0e756bf0fc07421d17b8a /lang | |
parent | e1ad234516b6231fe7e8dbdf16c3f946c8acb60b (diff) | |
download | pkgsrc-a2f0fb34f34533343406ebfc89ff7f7f9d03775b.tar.gz |
Force realigning the stack for Clang on AMD64 as Hotspot creates
misaligned stack frames.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/openjdk7/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
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" |