build: fixup WFALGS/WFLAGS mistake

This commit is contained in:
Alam Ed Arias 2017-03-12 21:09:06 -04:00
parent 6bb7a636dc
commit 9cac1e9e62
1 changed files with 6 additions and 2 deletions

View File

@ -181,13 +181,17 @@ ifdef GCC45
WFLAGS+=-Wunsuffixed-float-constants
endif
endif
ifdef NOLDWARNING
LDFLAGS+=-Wl,--as-needed
endif
ifdef ERRORMODE
WFLAGS+=-Werror
endif
WFLAGS+=$(OLDWFLAGS)
ifdef GCC43
#WFLAGS+=-Wno-error=clobbered
endif
@ -195,10 +199,10 @@ ifdef GCC46
WFLAGS+=-Wno-error=suggest-attribute=noreturn
endif
ifdef GCC54
WFALGS+=-Wno-error=logical-op
WFLAGS+=-Wno-error=logical-op
endif
ifdef GCC61
WFALGS+=-Wno-error=tautological-compare
WFLAGS+=-Wno-error=tautological-compare
endif