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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Thu Jun 14 16:41:53 CEST 2012


Revision: 18405
          http://gar.svn.sourceforge.net/gar/?rev=18405&view=rev
Author:   wahwah
Date:     2012-06-14 14:41:52 +0000 (Thu, 14 Jun 2012)
Log Message:
-----------
zlib/trunk: switching to GCC as a temporary fix for the linking problem on amd64

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

Modified: csw/mgar/pkg/zlib/trunk/Makefile
===================================================================
--- csw/mgar/pkg/zlib/trunk/Makefile	2012-06-14 13:12:26 UTC (rev 18404)
+++ csw/mgar/pkg/zlib/trunk/Makefile	2012-06-14 14:41:52 UTC (rev 18405)
@@ -41,9 +41,16 @@
 
 EXTRA_BUILD_ISAS = sparcv8plus sparcv8plus+vis pentium_pro+mmx pentium
 
-# https://blogs.oracle.com/d/entry/building_shared_libraries_for_sparcv9
-EXTRA_CFLAGS = -xcode=pic32
+# Temporary switch to GCC, because the previous build resulted in a broken
+# library on amd64 as reported by Rafael.
+GARCOMPILER = GNU
+LD_ALTEXEC = /opt/csw/bin/gld
+EXTRA_EXPORTS = LD_ALTEXEC
 
+# # https://blogs.oracle.com/d/entry/building_shared_libraries_for_sparcv9
+# EXTRA_CFLAGS_sparc = -xcode=pic32
+# EXTRA_CFLAGS += $(EXTRA_CFLAGS_$(GARCH))
+
 CONFIGURE_ARGS += --prefix=$(prefix)
 CONFIGURE_ARGS += --eprefix=$(exec_prefix)
 CONFIGURE_ARGS += --libdir=$(libdir)

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