]> 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)
committerGeorge Joseph <gjoseph@digium.com>
Thu, 19 Aug 2021 14:03:27 +0000 (09:03 -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 fc486110aa9f722ef86cc71a93ee6b0ab897bf28..ae090fab0192f676a4d87e82f6b3375a17708a71 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 7d8b8a311756986339d6a1ff9f6272bf2e6c36e5..a17a3c1d3992e4e4be3c52c4532b83765b432efa 100644 (file)
@@ -133,9 +133,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)/,,$<) -> $@"