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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sun Feb 12 04:20:12 CET 2012


Revision: 17021
          http://gar.svn.sourceforge.net/gar/?rev=17021&view=rev
Author:   bdwalton
Date:     2012-02-12 03:20:12 +0000 (Sun, 12 Feb 2012)
Log Message:
-----------
ruby19/trunk: build with sun pro again, force memory alignment on sparc

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

Modified: csw/mgar/pkg/ruby19/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ruby19/trunk/Makefile	2012-02-11 15:58:24 UTC (rev 17020)
+++ csw/mgar/pkg/ruby19/trunk/Makefile	2012-02-12 03:20:12 UTC (rev 17021)
@@ -100,7 +100,7 @@
 EXTRA_INC = $(prefix)/X11/include
 EXTRA_LIB = $(prefix)/X11/lib
 
-GARCOMPILER = GCC4
+#GARCOMPILER = GCC4
 # RUNTIME_DEP_PKGS_CSWruby19 += CSWgcc4corert
 # RUNTIME_DEP_PKGS_CSWruby19-dev += CSWgcc4core
 # # This is for rbconfig.rb: without this, modules built may not get a
@@ -113,6 +113,14 @@
 
 include gar/category.mk
 
+# these are after the include so GARCH is set.
+# attempting to get a usable build on sparc:
+# i think we're fighting a byte alignment issue
+ifeq ($(GARCH),sparc)
+EXTRA_CFLAGS = -xmemalign=1i
+endif
+
+
 SPKG_VERSION := $(SPKG_VERSION)$(PATCHLEVEL)
 
 MERGE_EXCLUDE_STATICLIBS = 

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