[csw-devel] SF.net SVN: gar:[16561] csw/mgar/pkg/php5_apc/trunk/Makefile

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sun Dec 18 16:21:58 CET 2011


Revision: 16561
          http://gar.svn.sourceforge.net/gar/?rev=16561&view=rev
Author:   bdwalton
Date:     2011-12-18 15:21:57 +0000 (Sun, 18 Dec 2011)
Log Message:
-----------
php5_apc/trunk: add sparc specific tweak to get passing tests (not optimal but maybe workable)

Modified Paths:
--------------
    csw/mgar/pkg/php5_apc/trunk/Makefile

Modified: csw/mgar/pkg/php5_apc/trunk/Makefile
===================================================================
--- csw/mgar/pkg/php5_apc/trunk/Makefile	2011-12-18 15:13:02 UTC (rev 16560)
+++ csw/mgar/pkg/php5_apc/trunk/Makefile	2011-12-18 15:21:57 UTC (rev 16561)
@@ -51,6 +51,14 @@
 
 include gar/category.mk
 
+# these are after the include so GARCH is set.
+# attempting to get a usable build on sparc:
+# https://bugs.php.net/bug.php?id=59100
+ifeq ($(GARCH),sparc)
+EXTRA_CFLAGS = -xmemalign=1i
+endif
+
+
 post-extract-isa-$(ISA_DEFAULT_$(GARCH)):
 	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
 	@$(MAKECOOKIE)

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list