diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-05-17 18:41:01 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-05-18 00:47:04 +0200 |
commit | d73bfd1a42aae2b31168acd7827eeb24494cf289 (patch) | |
tree | dd452ad9a8d3139c604f3cbda93df44406c44a19 /apps/plugins/doom/doom.make | |
parent | c75dbaae255eeb73686aa6452ac51d3f12bcc17f (diff) | |
download | rockbox-d73bfd1a42aae2b31168acd7827eeb24494cf289.tar.gz rockbox-d73bfd1a42aae2b31168acd7827eeb24494cf289.zip |
pdbox/doom: Use -Wno-stringop-truncation with GCC >=8
This should shut up a lot of the sim build failures
Change-Id: Ieaa387585cb8ca0f8b2faff24c08aad9451b28ce
Diffstat (limited to 'apps/plugins/doom/doom.make')
-rw-r--r-- | apps/plugins/doom/doom.make | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/doom/doom.make b/apps/plugins/doom/doom.make index 0ebdf384a1..8be7620feb 100644 --- a/apps/plugins/doom/doom.make +++ b/apps/plugins/doom/doom.make | |||
@@ -24,6 +24,10 @@ DOOMCFLAGS = $(PLUGINFLAGS) -Wno-strict-prototypes -O2 -fno-strict-aliasing | |||
24 | ifeq ($(shell expr $(GCCNUM) \> 401),1) | 24 | ifeq ($(shell expr $(GCCNUM) \> 401),1) |
25 | DOOMCFLAGS += -fgnu89-inline | 25 | DOOMCFLAGS += -fgnu89-inline |
26 | endif | 26 | endif |
27 | # Disable stringop-truncation warnings on GCC 8 or greater | ||
28 | ifeq ($(shell expr $(GCCNUM) \> 800),1) | ||
29 | DOOMCFLAGS += -Wno-stringop-truncation | ||
30 | endif | ||
27 | 31 | ||
28 | ifndef APP_TYPE | 32 | ifndef APP_TYPE |
29 | ifeq ($(TARGET), IRIVER_H100) | 33 | ifeq ($(TARGET), IRIVER_H100) |