aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2009-08-04 14:51:39 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2009-08-04 14:51:39 +0000
commit96da3dffc0fa133b8ada1c09ca503df1631a1276 (patch)
tree2ac78c2f3befb9a13e9559047d36f7a5ae46275b /Makefile
parent292f57129a8a1a4ecf9d5bb5d417147a690c2459 (diff)
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/branches/1.4@210237 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2acc7ab6a..44d029c68 100644
--- a/Makefile
+++ b/Makefile
@@ -221,7 +221,7 @@ ifeq ($(AST_DEVMODE),yes)
endif
ifneq ($(findstring BSD,$(OSARCH)),)
- _ASTCFLAGS+=-I/usr/local/include
+ _ASTCFLAGS+=-isystem /usr/local/include
_ASTLDFLAGS+=-L/usr/local/lib
endif