diff --git a/src/Makefile.cfg b/src/Makefile.cfg index 0e38a05c..fa8896a7 100644 --- a/src/Makefile.cfg +++ b/src/Makefile.cfg @@ -155,13 +155,14 @@ WFLAGS+=-Wformat-security ifndef GCC29 #WFLAGS+=-Winit-self endif +ifdef GCC46 +WFLAGS+=-Wno-suggest-attribute=noreturn +endif + ifndef MINGW ifdef GCC45 WFLAGS+=-Wunsuffixed-float-constants endif -ifdef GCC46 -WFLAGS+=-Wno-suggest-attribute=noreturn -endif endif ifdef NOLDWARNING LDFLAGS+=-Wl,--as-needed