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

hson at users.sourceforge.net hson at users.sourceforge.net
Mon Jan 4 17:27:16 CET 2010


Revision: 7861
          http://gar.svn.sourceforge.net/gar/?rev=7861&view=rev
Author:   hson
Date:     2010-01-04 16:27:14 +0000 (Mon, 04 Jan 2010)

Log Message:
-----------
ilmbase: Minor comiler flag fixes to try to get the tests working on 64-bit

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

Modified: csw/mgar/pkg/ilmbase/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ilmbase/trunk/Makefile	2010-01-04 14:59:02 UTC (rev 7860)
+++ csw/mgar/pkg/ilmbase/trunk/Makefile	2010-01-04 16:27:14 UTC (rev 7861)
@@ -53,12 +53,17 @@
 PATCHFILES = ImathMath.patch
 PATCHFILES += ltmain.sh.patch
 
-LIBS += -lCstd -lCrun -lc -lm
-export LIBS
+EXTRA_LD_FLAGS += -lCstd -lCrun -lc -lm
+EXTRA_CXX_FLAGS_isa-i386    = 
+EXTRA_CXX_FLAGS_isa-sparcv8 = 
+EXTRA_CXX_FLAGS_isa-amd64   = -KPIC
+EXTRA_CXX_FLAGS_isa-sparcv9 = -KPIC
+EXTRA_CXX_FLAGS += $(EXTRA_LD_FLAGS_$(MODULATION))
 
 BUILD64 = 1
 
 # Check fails if library isn't installed /opt/csw/lib and until a 64-bit
+# lib is installed test has to be disabled
 #TEST_TARGET = check
 TEST_TARGET = 
 
@@ -66,6 +71,9 @@
 
 include gar/category.mk
 
+#
+# Test to see if rebuilding libtool would fix 64-bit problem...
+#
 #pre-configure-modulated:
 #	@echo " ==> Regenerating build tools..."
 #	@(cd $(WORKSRC) ; \


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