]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix compiler error when using ./configure --enable-dev-mode --enable-coverage 68/3268/3
authorCorey Farrell <git@cfware.com>
Wed, 12 Nov 2014 13:44:32 +0000 (13:44 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 21 Jul 2016 12:32:15 +0000 (07:32 -0500)
commitb92332b57517041bc4ac261c4025e7d0c08725c4
treeed59b7f543362f5cffe377eb97b0018ca5066438
parentabe901e682b8b947d2beb03e757d7c94a5f5041b
Fix compiler error when using ./configure --enable-dev-mode --enable-coverage

When DONT_OPTIMIZE is enabled with dev-mode, it causes a shadow compilation
to be done with output to /dev/null.  This can cause errors with coverage
when GCC attempts to write to /dev/null.gcno.  This change disables
coverage for the shadow compilation.

ASTERISK-24502 #close
Reported by: Corey Farrell
Review: https://reviewboard.asterisk.org/r/4151/

Change-Id: I64e321f0dc38adf9389f5455f88c3cd740d38470
Makefile.rules