Projects
Mega:23.03
openjdk-1.8.0
_service:tar_scm:dismiss-warnings-in-GCC-8.X.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:dismiss-warnings-in-GCC-8.X.patch of Package openjdk-1.8.0
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,11 @@ CXXFLAGS = $(SYSDEFS) $(INCLUDES) # Force assertions on. CXXFLAGS += -DASSERT +# Introduced in GCC 8.X +ifneq "$(shell expr \( $(CC_VER_MAJOR) \>= 8 \))" "0" + CXXFLAGS += -Wno-error=stringop-overflow= +endif + # CFLAGS_WARN holds compiler options to suppress/enable warnings. # Compiler warnings are treated as errors CFLAGS_WARN = $(WARNINGS_ARE_ERRORS)
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2