[asterisk-commits] kpfleming: trunk r210238 - in /trunk: ./ Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Aug 4 09:53:04 CDT 2009


Author: kpfleming
Date: Tue Aug  4 09:53:00 2009
New Revision: 210238

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=210238
Log:
Merged revisions 210237 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r210237 | kpfleming | 2009-08-04 09:51:39 -0500 (Tue, 04 Aug 2009) | 10 lines
  
  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:
    trunk/   (props changed)
    trunk/Makefile

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/Makefile
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/Makefile?view=diff&rev=210238&r1=210237&r2=210238
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Tue Aug  4 09:53:00 2009
@@ -241,7 +241,7 @@
 endif
 
 ifneq ($(findstring BSD,$(OSARCH)),)
-  _ASTCFLAGS+=-I/usr/local/include
+  _ASTCFLAGS+=-isystem /usr/local/include
 endif
 
 ifeq ($(findstring -march,$(_ASTCFLAGS) $(ASTCFLAGS)),)




More information about the asterisk-commits mailing list