mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
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: https://origsvn.digium.com/svn/asterisk/trunk@210238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
Makefile
2
Makefile
@@ -241,7 +241,7 @@ ifeq ($(AST_DEVMODE),yes)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(findstring BSD,$(OSARCH)),)
|
ifneq ($(findstring BSD,$(OSARCH)),)
|
||||||
_ASTCFLAGS+=-I/usr/local/include
|
_ASTCFLAGS+=-isystem /usr/local/include
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(findstring -march,$(_ASTCFLAGS) $(ASTCFLAGS)),)
|
ifeq ($(findstring -march,$(_ASTCFLAGS) $(ASTCFLAGS)),)
|
||||||
|
Reference in New Issue
Block a user