mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 01:16:28 -04:00
Note it is partially merged from the upstream patches for Linux and GCC 6. https://bugs.openjdk.java.net/browse/JDK-8163032 http://hg.openjdk.java.net/jdk7u/jdk7u/hotspot/rev/e34324d73cd5 http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/9e1264f51bae PR: 225054
10 lines
305 B
Makefile
10 lines
305 B
Makefile
--- hotspot/make/bsd/makefiles/gcc.make.orig
|
|
+++ hotspot/make/bsd/makefiles/gcc.make
|
|
@@ -112,6 +112,7 @@ ifeq ($(JVM_VARIANT_ZEROSHARK), true)
|
|
CFLAGS += $(LIBFFI_CFLAGS)
|
|
CFLAGS += $(LLVM_CFLAGS)
|
|
endif
|
|
+CFLAGS += -std=gnu++98
|
|
CFLAGS += $(VM_PICFLAG)
|
|
CFLAGS += -fno-rtti
|
|
CFLAGS += -fno-exceptions
|