diff options
author | joerg <joerg> | 2013-05-14 19:16:43 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-05-14 19:16:43 +0000 |
commit | a6e23645a1e0931ec9440c27c22e8aaafa1a666e (patch) | |
tree | 30863657e552614de4d0e756bf0fc07421d17b8a | |
parent | 099bc2c0919b74d12ac20934bffa0033aefb014d (diff) | |
download | pkgsrc-a6e23645a1e0931ec9440c27c22e8aaafa1a666e.tar.gz |
Force realigning the stack for Clang on AMD64 as Hotspot creates
misaligned stack frames.
-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" |