dect
/
asterisk
Archived
13
0
Fork 0

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
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@210238 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
kpfleming 2009-08-04 14:53:00 +00:00
parent a73782aff5
commit 7a4ba0f579
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ ifeq ($(AST_DEVMODE),yes)
endif
ifneq ($(findstring BSD,$(OSARCH)),)
_ASTCFLAGS+=-I/usr/local/include
_ASTCFLAGS+=-isystem /usr/local/include
endif
ifeq ($(findstring -march,$(_ASTCFLAGS) $(ASTCFLAGS)),)