]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Build System: Strip '-std=c99' from CFLAGS provided by libraries.
authorCorey Farrell <git@cfware.com>
Wed, 4 Apr 2018 15:02:06 +0000 (11:02 -0400)
committerCorey Farrell <git@cfware.com>
Wed, 4 Apr 2018 15:41:56 +0000 (09:41 -0600)
commit07e408e5887effc8f2cf78b05af4a361e3e2cb22
treed1d385f4b67412e97d811b571a377290e360a9d9
parent7888b6115af5aa43258db21924cabf6a39c8d345
Build System: Strip '-std=c99' from CFLAGS provided by libraries.

Asterisk requires GNU C extensions.  On some systems certain libraries
may incorrectly push -std=c99 into CFLAGS, thus breaking the build.
This change causes that flag to be stripped so the Asterisk build is not
broken by those libraries.  This change is made for both pkgconfig and
tool based libraries.

ASTERISK-27629 #close

Change-Id: I13389613b194abbac77becf90cd950dc168704db
autoconf/ast_ext_tool_check.m4
autoconf/ast_pkgconfig.m4
configure
menuselect/configure