]> 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:04:40 +0000 (07:04 -0600)
commit8ee69fbdd0da5b98770a90a991b83a6e52e6ac04
tree06cfe8cce4b04d75ca885aaa4e3735861a3baacf
parenta5b463cabfc4a97a24d991bfc7728245d650ab7c
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