/[escript]/trunk/tools/mmio/src/SConscript
ViewVC logotype

Annotation of /trunk/tools/mmio/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 188 - (hide annotations)
Mon Nov 21 01:20:26 2005 UTC (17 years, 4 months ago) by jgs
File size: 393 byte(s)
explicitly add -fpic option to all compiler options lists
to ensure relocatable code is generated

1 jgs 179 Import('*')
2    
3     import os
4    
5 jgs 188 cc_flags = '-O0 -openmp -openmp_report0 -tpp2 -ansi -ansi_alias -no-gcc -fpic -w1'
6 jgs 179
7     cpp_path = ['#inc']
8    
9     lib = 'mmio'
10     sources = ['mmio.c']
11    
12     mmio_env = Environment(ENV = os.environ)
13    
14     mmio_env.Replace(CC = 'icc')
15     mmio_env.Replace(CCFLAGS = cc_flags)
16     mmio_env.Replace(CPPPATH = cpp_path)
17    
18     mmio_lib = mmio_env.StaticLibrary(lib, sources)
19     mmio_env.Install(libdir, mmio_lib)

  ViewVC Help
Powered by ViewVC 1.1.26