]> git.ipfire.org Git - thirdparty/asterisk.git/commit
core/buildsystem: check the actual compiler being version
authorGuido Falsi <madpilot@freebsd.org>
Sun, 7 Apr 2019 16:36:55 +0000 (18:36 +0200)
committerGeorge Joseph <gjoseph@digium.com>
Mon, 22 Apr 2019 13:05:26 +0000 (07:05 -0600)
commit4dcfa8d1277b23a933152e37db342ff3e6c07c51
tree3908140796a591f5aab93bdd03e030f5bcdcd23c
parent6ec4b113c1df306f94fb4adc65984677fd60384c
core/buildsystem: check the actual compiler being version

Make compiler check use the output of the actual compiler being
used as reported by the CC variable, instead of unconditionally
running the "gcc" binary.  Also only run the check if the compiler
is gcc or a cross-compile gcc.

ASTERISK-28374

Change-Id: Icaacf6d93686ad21076878aa1504a23b4fc9d0f4
Makefile.rules