[Phylobase-commits] r107 - pkg/src/ncl

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Feb 14 04:25:19 CET 2008


Author: bbolker
Date: 2008-02-14 04:25:19 +0100 (Thu, 14 Feb 2008)
New Revision: 107

Modified:
   pkg/src/ncl/configure
Log:

  added fix (?) for 64 bit Unix (-fPIC) -- appears
to be OK on Ubuntu & Windows ...



Modified: pkg/src/ncl/configure
===================================================================
--- pkg/src/ncl/configure	2008-02-13 03:18:43 UTC (rev 106)
+++ pkg/src/ncl/configure	2008-02-14 03:25:19 UTC (rev 107)
@@ -20560,6 +20560,7 @@
 			CXXFLAGS_WARNINGS="$CXXFLAGS_WARNINGS"
 			CXXFLAGS_OPTIM_SPEED="-O3 -ffast-math"
 			CXXFLAGS_OPTIM_SIZE="-Os -ffast-math"
+                        CXXFLAGS_USE_FPIC = "-fPIC" ## T Jombart/phylobase hack 
 		fi
 		case "$build_os" in
 			darwin*) CXXFLAGS_WARNINGS="$CXXFLAGS_WARNINGS -Wno-long-double";;
@@ -20569,13 +20570,13 @@
 	if test "x$CXXFLAGS_OPTIM_SIZE" = "x"; then
 		CXXFLAGS_OPTIM_SIZE=$CXXFLAGS_OPTIM_SPEED
 	fi
+ ## T Jombart/phylobase hack: add CXXFLAGS_USE_FPIC
+	CXXFLAGS="$CXXFLAGS $CXXFLAGS_OPTIM_SPEED $CXXFLAGS_WARNINGS $CXXFLAGS_USE_FPIC"
 
-	CXXFLAGS="$CXXFLAGS $CXXFLAGS_OPTIM_SPEED $CXXFLAGS_WARNINGS"
 
 
 
 
-
 # Checks for libraries.
 
 # Checks for header files.



More information about the Phylobase-commits mailing list