add TOPDIR_CFLAGS to the CFLAGS before ASTCFLAGS to make sure that -Iinclude
authorRussell Bryant <russell@russellbryant.com>
Mon, 8 May 2006 15:03:44 +0000 (15:03 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 8 May 2006 15:03:44 +0000 (15:03 +0000)
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

index 39168d7..f4e7ad9 100644 (file)
--- 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