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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed Aug 10 10:30:47 CEST 2011


Revision: 15297
          http://gar.svn.sourceforge.net/gar/?rev=15297&view=rev
Author:   wahwah
Date:     2011-08-10 08:30:47 +0000 (Wed, 10 Aug 2011)

Log Message:
-----------
pkg/ppl/trunk: working around the __sync_fetch_and_add_4 issue

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

Modified: csw/mgar/pkg/ppl/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ppl/trunk/Makefile	2011-08-10 07:52:31 UTC (rev 15296)
+++ csw/mgar/pkg/ppl/trunk/Makefile	2011-08-10 08:30:47 UTC (rev 15297)
@@ -9,12 +9,32 @@
 define BLURB
 endef
 
+BUILD_DEP_PKGS = CSWlibgmp-dev
+BUILD_DEP_PKGS += CSWlibmpfr-dev
+BUILD_DEP_PKGS += CSWlibmpc-dev
+BUILD_DEP_PKGS += CSWgm4
+
 MASTER_SITES = http://www.cs.unipr.it/ppl/Download/ftp/releases/$(VERSION)/
 DISTFILES  = $(DISTNAME).tar.gz
 
 VENDOR_URL = http://www.cs.unipr.it/ppl/
 
+# C++ bindings require the consistency between GMP, PPL and GCC.
+GARCOMPILER = GNU
+
+# Undefined symbol __sync_fetch_and_add_4
+# http://www.mail-archive.com/maintainers@lists.opencsw.org/msg06095.html
+# http://opencsw.wikidot.com/porting-faq#toc6
+ifeq ($(ISA),sparcv8)
+OPT_FLAGS_GCC = -O0
+endif
+ifeq ($(ISA),i386)
+OPT_FLAGS_GCC = -O0
+endif
+
 CONFIGURE_ARGS = $(DIRPATHS)
 
 include gar/category.mk
 
+# To help the configure script find GNU M4
+PATH := /opt/csw/gnu:$(PATH)


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