From: Alexander Traud Date: Mon, 16 Aug 2021 16:11:56 +0000 (+0200) Subject: BuildSystem: Remove two dead exceptions for compiler Clang. X-Git-Tag: 16.21.0-rc1~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=478c4fa588ba8c21295bb66aa1fb4a3ed3d11974;p=thirdparty%2Fasterisk.git BuildSystem: Remove two dead exceptions for compiler Clang. Commit 305ce3d added -Wno-parentheses-equality to Makefile.rules, turning the previous two warning suppressions from commit e9520db redundant. Let us remove the latter. Change-Id: I0b471254b31e6e05902062761dded4b3e626c7ac --- diff --git a/res/Makefile b/res/Makefile index 751162257d..8b1b75998d 100644 --- a/res/Makefile +++ b/res/Makefile @@ -33,9 +33,6 @@ ael/ael_lex.o: _ASTCFLAGS+=-I. -Iael -Wno-unused $(AST_NO_FORMAT_TRUNCATION) ael/ael.tab.o: ael/ael.tab.c ael/ael.tab.h ../include/asterisk/ael_structs.h ael/ael.tab.o: _ASTCFLAGS+=-I. -Iael -DYYENABLE_NLS=0 - ifneq ($(AST_CLANG_BLOCKS),) - _ASTCFLAGS+=-Wno-parentheses-equality - endif ifneq ($(findstring REBUILD_PARSERS,$(MENUSELECT_CFLAGS)),) ael/ael_lex.c: ael/ael.flex diff --git a/utils/Makefile b/utils/Makefile index 3a1e218a70..3df7976249 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -143,9 +143,6 @@ aelbison.c: $(ASTTOPDIR)/res/ael/ael.tab.c $(ECHO_PREFIX) echo " [CP] $(subst $(ASTTOPDIR)/,,$<) -> $@" $(CMD_PREFIX) cp "$<" "$@" aelbison.o: _ASTCFLAGS+=-I$(ASTTOPDIR)/res/ael -DYYENABLE_NLS=0 - ifneq ($(AST_CLANG_BLOCKS),) - _ASTCFLAGS+=-Wno-parentheses-equality - endif pbx_ael.c: $(ASTTOPDIR)/pbx/pbx_ael.c $(ECHO_PREFIX) echo " [CP] $(subst $(ASTTOPDIR)/,,$<) -> $@"