mailr2388 - /branches/c_modules/sconstruct


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on March 14, 2006 - 05:59:
Author: bugman
Date: Tue Mar 14 05:58:30 2006
New Revision: 2388

URL: http://svn.gna.org/viewcvs/relax?rev=2388&view=rev
Log:
Compilation with -fPIC and -pedantic.


Modified:
    branches/c_modules/sconstruct

Modified: branches/c_modules/sconstruct
URL: 
http://svn.gna.org/viewcvs/relax/branches/c_modules/sconstruct?rev=2388&r1=2387&r2=2388&view=diff
==============================================================================
--- branches/c_modules/sconstruct (original)
+++ branches/c_modules/sconstruct Tue Mar 14 05:58:30 2006
@@ -341,7 +341,8 @@
         # Loop over the relaxation curve fitting files.
         nodes = []
         for file in files:
-            nodes.append(env.SharedObject(dir + '/' + file, 
CCFLAGS=self.cflags, SHCCFLAGS=self.cflags))
+            nodes.append(env.SharedObject(dir + '/' + file, 
CCFLAGS=self.cflags))
+            #nodes.append(env.SharedObject(dir + '/' + file, 
CCFLAGS=self.cflags, SHCCFLAGS=self.cflags))
 
         # Build the relaxation curve fitting module.
         self.relax_fit_object = env.SharedLibrary(target=dir + '/relax_fit', 
source=nodes, SHLIBPREFIX='')
@@ -417,7 +418,7 @@
         py_include_path = sys.prefix + '/include/python' + 
`sys.version_info[0]` + '.' + `sys.version_info[1]`
 
         # C flags.
-        self.cflags = '-I' + py_include_path
+        self.cflags = '-I' + py_include_path + ' -pedantic'
 
 
     def tar(self, target=None, source=None, env=None):




Related Messages


Powered by MHonArc, Updated Wed Mar 15 16:00:05 2006