[Freeswitch-svn] [commit] r2654 - freeswitch/trunk/src/mod/languages/mod_php
Freeswitch SVN
mikej at freeswitch.org
Tue Sep 12 00:02:25 EDT 2006
Author: mikej
Date: Tue Sep 12 00:02:13 2006
New Revision: 2654
Modified:
freeswitch/trunk/src/mod/languages/mod_php/Makefile
Log:
set -fno-strict-aliasing on mod_php for gcc. we really need to not be doing this, but this is because of an issue in the php header files. Please note, the affects our ability to do any real optimization on this module. The best details I found on this issue are at: http://www.opensolaris.org/jive/thread.jspa?threadID=1923&tstart=0 .
Modified: freeswitch/trunk/src/mod/languages/mod_php/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_php/Makefile (original)
+++ freeswitch/trunk/src/mod/languages/mod_php/Makefile Tue Sep 12 00:02:13 2006
@@ -2,7 +2,8 @@
PCFG=$(PREFIX)/bin/php-config
LCFLAGS=-fPIC -DZTS -DPTHREADS
-CFLAGS += `$(PCFG) --includes` -g3
+# we should NOT use -fno-strict-aliasing. we need to fix this issue, but it is an issue in the php header files. we need to be careful of the optimization level on this module becuase of this setting.
+CFLAGS += `$(PCFG) --includes` -g3 -fno-strict-aliasing
MDIR += `$(PCFG) --extension-dir`
PHPMOD=freeswitch
PHPLDFLAGS = `$(PCFG) --ldflags` -lcrypt -lresolv -lm -ldl -lnsl -lxml2 -lz -lphp5
More information about the Freeswitch-svn
mailing list