From f2e3d8279d8d313124aa5dab0ac6d219d42e0621 Mon Sep 17 00:00:00 2001
From: Russell Bryant <russell@russellbryant.com>
Date: Mon, 8 May 2006 15:03:44 +0000
Subject: [PATCH] add TOPDIR_CFLAGS to the CFLAGS before ASTCFLAGS to make sure
 that -Iinclude comes before -I/usr/local/include or something similar

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25590 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 39168d7658..f4e7ad9478 100644
--- a/Makefile
+++ b/Makefile
@@ -410,7 +410,7 @@ ifeq ($(OSARCH),SunOS)
 endif
 
 ifeq ($(MAKETOPLEVEL),$(MAKELEVEL))
-  CFLAGS+=$(ASTCFLAGS) $(TOPDIR_CFLAGS)
+  CFLAGS+=$(TOPDIR_CFLAGS) $(ASTCFLAGS)
 endif
 
 # This is used when generating the doxygen documentation
-- 
GitLab