[asterisk-commits] pabelanger: branch 1.4 r297404 - /branches/1.4/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Dec 2 14:01:13 CST 2010


Author: pabelanger
Date: Thu Dec  2 14:01:08 2010
New Revision: 297404

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=297404
Log:
Resolve compile error under FreeBSD

We now set _ASTCFLAGS+=-march=i686 for i386 processors, still allowing ASTCFLAGS
to override the setting.

Review: https://reviewboard.asterisk.org/r/1043/

Modified:
    branches/1.4/Makefile

Modified: branches/1.4/Makefile
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/Makefile?view=diff&rev=297404&r1=297403&r2=297404
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Thu Dec  2 14:01:08 2010
@@ -235,6 +235,9 @@
 endif
 
 ifeq ($(OSARCH),FreeBSD)
+  ifeq ($(PROC),i386)
+    _ASTCFLAGS+=-march=i686
+  endif
   # -V is understood by BSD Make, not by GNU make.
   BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk)
   _ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi)




More information about the asterisk-commits mailing list