aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2009-08-04 14:55:37 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2009-08-04 14:55:37 +0000
commit14e7043d0d22d511ca658e1e8b9b3d1dbcec9b86 (patch)
tree4b191aec062a6768d8d0c2f735ec42eb3d7689a6 /Makefile
parent538f4ca207028ee047ffadc741278584c2ca43bc (diff)
Merged revisions 210238 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r210238 | kpfleming | 2009-08-04 09:53:00 -0500 (Tue, 04 Aug 2009) | 16 lines 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/branches/1.6.2@210241 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 40cf4fe10..651e84590 100644
--- a/Makefile
+++ b/Makefile
@@ -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)),)