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

View file

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