]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
BuildSystem: Remove two dead exceptions for compiler Clang.
authorAlexander Traud <pabstraud@compuserve.com>
Mon, 16 Aug 2021 16:11:56 +0000 (18:11 +0200)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Thu, 19 Aug 2021 13:40:55 +0000 (08:40 -0500)
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

res/Makefile
utils/Makefile

index 751162257d4f7b251f167f188cacf0c2bd1bac8d..8b1b75998dd6640bae1c7b897d31b9e0b7afd19d 100644 (file)
@@ -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
index 3a1e218a707de6d7e7e8ee4508c2b24b49da0809..3df7976249c4b5f6b33b0de32e12daf96754e7c8 100644 (file)
@@ -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)/,,$<) -> $@"