[asterisk-commits] kpfleming: branch 1.4 r210237 - /branches/1.4/Makefile
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Aug 4 09:51:43 CDT 2009
Author: kpfleming
Date: Tue Aug 4 09:51:39 2009
New Revision: 210237
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=210237
Log:
Eliminate spurious compiler warnings from system headers on *BSD platforms.
Ensure that system headers located in /usr/local/include are actually treated
as system headers by the compiler, and not as local headers which are subject
to warnings from the -Wundef compiler option and others.
(closes issue #15606)
Reported by: mvanbaak
Modified:
branches/1.4/Makefile
Modified: branches/1.4/Makefile
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.4/Makefile?view=diff&rev=210237&r1=210236&r2=210237
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Tue Aug 4 09:51:39 2009
@@ -221,7 +221,7 @@
endif
ifneq ($(findstring BSD,$(OSARCH)),)
- _ASTCFLAGS+=-I/usr/local/include
+ _ASTCFLAGS+=-isystem /usr/local/include
_ASTLDFLAGS+=-L/usr/local/lib
endif
More information about the asterisk-commits
mailing list