File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 QUIETFLAGS ?=
3434 QUIETFLAGS += -Wno-unused-label
3535 QUIETFLAGS += -Wno-format-overflow
36- QUIETFLAGS += -Wno-format-truncation
37- QUIETFLAGS += -Wno-stringop-truncation
3836 CXXQUIETFLAGS := $(QUIETFLAGS )
3937 CXXQUIETFLAGS += -Wno-catch-value
4038endif
@@ -258,7 +256,7 @@ INCLUDE += $(LIBTIRPC_CFLAGS)
258256# Compilation options. Perhaps some of these should come from Makefile.inc? (CXXFLAGS now does)
259257INTEGER_OVERFLOW_FLAGS := -fwrapv
260258OPT := -Os $(INTEGER_OVERFLOW_FLAGS )
261- DEBUG := $(DEBUG ) -g -Wall
259+ DEBUG := $(DEBUG ) -g -Wall -Wno-stringop-truncation -Wno-format-truncation
262260CFLAGS := $(INCLUDE ) $(OPT ) $(DEBUG ) $(EXTRA_DEBUG ) -DULAPI -std=gnu99 -fgnu89-inline -Werror=implicit-function-declaration $(CFLAGS ) $(CPPFLAGS )
263261CXXFLAGS := $(INCLUDE ) $(EXTRA_DEBUG ) -DULAPI $(DEBUG ) $(OPT ) -Woverloaded-virtual $(CXXFLAGS ) $(CPPFLAGS )
264262CXXFLAGS += $(call cxx-option, -Wno-psabi)
You can’t perform that action at this time.
0 commit comments