summaryrefslogtreecommitdiff
path: root/libre/java8-openjdk/002_gcc.make-4.9.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/java8-openjdk/002_gcc.make-4.9.patch')
-rw-r--r--libre/java8-openjdk/002_gcc.make-4.9.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/java8-openjdk/002_gcc.make-4.9.patch b/libre/java8-openjdk/002_gcc.make-4.9.patch
new file mode 100644
index 000000000..13715a5d6
--- /dev/null
+++ b/libre/java8-openjdk/002_gcc.make-4.9.patch
@@ -0,0 +1,12 @@
+--- old/make/linux/makefiles/gcc.make 2014-04-23 22:07:59.838205838 +0100
++++ new/make/linux/makefiles/gcc.make 2014-04-23 22:07:59.754204533 +0100
+@@ -266,6 +266,9 @@
+ ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 3), 1)
+ OPT_CFLAGS/mulnode.o += $(OPT_CFLAGS/NOOPT)
+ endif
++ ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 9), 1)
++ OPT_CFLAGS/macroAssembler_x86.o += -fno-devirtualize
++ endif
+ endif
+
+ # Flags for generating make dependency flags.