On 04/23/2013 12:47 PM, hermann meyer wrote:
Am 22.04.2013 07:33, schrieb Florian Paul Schmidt:Hi I'm far from being a waf expert, but I will try to help you out here: You can use conf.env['cshlib_LINKFLAGS'].append("-fPIC") or conf.env['shlib_LINKFLAGS'].append("-fPIC") or conf.env['cxxshlib_LINKFLAGS'].append("-fPIC") somewhere in the def configure(conf): part to set the link flag and you can use in the obj = bld cflags = '-Wall -O3 -march=native', or cxxflags = '-Wall -O3 -march=native', depending on your seated obj = bld(features = 'c cshlib', or obj = bld(features = 'cxx cxxshlib',
Hi, thanks for the info, but I would expect that there's a maybe more portable way, at least for the -fPIC option>
Flo -- Florian Paul Schmidt http://fps.io _______________________________________________ Linux-audio-dev mailing list [email protected] http://lists.linuxaudio.org/listinfo/linux-audio-dev
