Makefile: ignore suggest=attribute for GCC 4.6 and up

This commit is contained in:
Alam Ed Arias 2016-05-27 01:55:52 -04:00
parent 20dcf138e2
commit 869d582cc4
1 changed files with 3 additions and 0 deletions

View File

@ -173,6 +173,9 @@ endif
ifdef GCC43
#WFLAGS+=-Wno-error=clobbered
endif
ifdef GCC46
WFLAGS+=-Wno-error=suggest-attribute=noreturn
endif
WFLAGS+=$(OLDWFLAGS)