15 lines
533 B
Diff
15 lines
533 B
Diff
|
|
diff --git a/hotspot/make/linux/makefiles/adlc.make b/hotspot/make/linux/makefiles/adlc.make
|
||
|
|
index 92b8b9b3..a24f9184 100644
|
||
|
|
--- a/hotspot/make/linux/makefiles/adlc.make
|
||
|
|
+++ b/hotspot/make/linux/makefiles/adlc.make
|
||
|
|
@@ -64,6 +64,9 @@ CXXFLAGS = $(SYSDEFS) $(INCLUDES)
|
||
|
|
# Force assertions on.
|
||
|
|
CXXFLAGS += -DASSERT
|
||
|
|
|
||
|
|
+# Introduced in GCC 8.X
|
||
|
|
+CXXFLAGS += -Wno-error=stringop-overflow=
|
||
|
|
+
|
||
|
|
# CFLAGS_WARN holds compiler options to suppress/enable warnings.
|
||
|
|
# Compiler warnings are treated as errors
|
||
|
|
CFLAGS_WARN = $(WARNINGS_ARE_ERRORS)
|