mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 11:06:31 +00:00
utils: Disable old style definition warnings for libdb.
Newer versions of gcc now warn about old style definitions, such
as those in libdb, which causes compilation failure with DEVMODE
enabled. Ignore these warnings for libdb.
Resolves: #1085
(cherry picked from commit 9bb081a090
)
This commit is contained in:
committed by
Asterisk Development Team
parent
a53d5960ac
commit
c1ca76f094
@@ -182,7 +182,7 @@ streamplayer: streamplayer.o
|
||||
|
||||
CHECK_SUBDIR: # do nothing, just make sure that we recurse in the subdir/
|
||||
db1-ast/libdb1.a: CHECK_SUBDIR
|
||||
_ASTCFLAGS="$(_ASTCFLAGS) -Wno-strict-aliasing" ASTCFLAGS="$(ASTCFLAGS)" $(MAKE) -C db1-ast libdb1.a
|
||||
_ASTCFLAGS="$(_ASTCFLAGS) -Wno-strict-aliasing -Wno-old-style-definition" ASTCFLAGS="$(ASTCFLAGS)" $(MAKE) -C db1-ast libdb1.a
|
||||
|
||||
astdb2sqlite3: LIBS+=$(SQLITE3_LIB)
|
||||
astdb2sqlite3: _ASTCFLAGS+=$(SQLITE3_INCLUDE)
|
||||
|
Reference in New Issue
Block a user