summaryrefslogtreecommitdiff
path: root/debian/patches/hotspot-no-march-i586.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/hotspot-no-march-i586.diff')
-rw-r--r--debian/patches/hotspot-no-march-i586.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/hotspot-no-march-i586.diff b/debian/patches/hotspot-no-march-i586.diff
new file mode 100644
index 0000000..3c36e61
--- /dev/null
+++ b/debian/patches/hotspot-no-march-i586.diff
@@ -0,0 +1,13 @@
+# Don't explicitly build with -march=i586 on i386 architectures.
+
+--- openjdk/hotspot/make/linux/makefiles/gcc.make~ 2012-09-03 11:00:18.813744653 +0200
++++ openjdk/hotspot/make/linux/makefiles/gcc.make 2012-09-03 13:06:48.869916169 +0200
+@@ -112,7 +112,7 @@
+ endif
+
+ ARCHFLAG = $(ARCHFLAG/$(BUILDARCH))
+-ARCHFLAG/i486 = -m32 -march=i586
++ARCHFLAG/i486 = -m32
+ ARCHFLAG/amd64 = -m64
+ ARCHFLAG/ia64 =
+ ARCHFLAG/sparc = -m32 -mcpu=v9