summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-08-29 11:49:56 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-08-29 11:49:56 +0200
commite8279f5164d38207f47c83223d8cc1d2068859d2 (patch)
tree8e1a4fbd1ff9655210607814e702e24ea7832c05 /package
parent57ab7c72776b41369d951bf4eb99d900c7ec5f6c (diff)
fix segfault in java
Diffstat (limited to 'package')
-rw-r--r--package/openjdk/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/openjdk/Makefile b/package/openjdk/Makefile
index 4bb68bb88..81e057978 100644
--- a/package/openjdk/Makefile
+++ b/package/openjdk/Makefile
@@ -59,7 +59,9 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,OPENJDK,openjdk,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-
+# segfaults with march=pentium-m/atom
+TARGET_CFLAGS:= $(subst march=pentium-m,march=i686,$(TARGET_CFLAGS))
+TARGET_CFLAGS:= $(subst march=atom,march=i686,$(TARGET_CFLAGS))
TARGET_CFLAGS:= $(filter-out -fhonour-copts,$(TARGET_CFLAGS))
BOOTSTRAPJDK:= ${STAGING_JAVA_HOST_DIR}/bootstrap-jdk